Show More
Commit Description:
- clean up link to problem stat and user stat...
Commit Description:
- clean up link to problem stat and user stat (grafted from 45d1e12e9794a23a5431222fe2f4c7461d73a529)
File last commit:
Show/Diff file:
Action:
app/views/announcements/new.html.erb | 46 lines | 773 B | text/plain | TextLexer |
<h1>New announcement</h1>
<%= error_messages_for :announcement %>
<%= form_for(@announcement) do |f| %>
<p>
<b>Title</b><br />
<%= f.text_field :title %>
</p>
<p>
<b>Notes</b> (shown internally, used to organize announcements)<br />
<%= f.text_field :notes %>
</p>
<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 %>