Show More
Commit Description:
allow ta to view problem stat
Commit Description:
allow ta to view problem stat
File last commit:
Show/Diff file:
Action:
app/views/announcements/new.html.haml | 14 lines | 567 B | text/x-haml | HamlLexer |
%h1 New announcement
= error_messages_for :announcement
= simple_form_for(@announcement) do |f|
.row
.col-md-6
= f.input :title
= f.input :notes, label: 'Notes (shown internally, used to organize announcements)'
= f.input :body
= f.input :author
= f.input :published
= f.input :frontpage, label: 'Display in the front page only?'
= f.input :contest_only, label: 'Display in contest only?'
= f.button :submit, "Create", class: 'btn btn-primary'
= link_to 'Back', announcements_path, class: 'btn btn-default'