Show More
Commit Description:
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
Commit Description:
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@359 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/views/announcements/new.html.erb | 36 lines | 585 B | text/plain | TextLexer |
<h1>New announcement</h1>
<%= error_messages_for :announcement %>
<% form_for(@announcement) do |f| %>
<p>
<b>Body</b><br />
<%= f.text_area :body %>
</p>
<p>
<b>Author</b><br />
<%= f.text_field :author %>
</p>
<p>
<b>Published</b><br />
<%= f.check_box :published %>
</p>
<p>
<b>Show on front page?</b><br />
<%= f.check_box :frontpage %>
</p>
<p>
<b>Show only in contest?</b><br />
<%= f.check_box :contest_only %>
</p>
<p>
<%= f.submit "Create" %>
</p>
<% end %>
<%= link_to 'Back', announcements_path %>