Show More
Commit Description:
Merge pull request #20 from nattee/master...
Commit Description:
Merge pull request #20 from nattee/master feature merge
References:
File last commit:
Show/Diff file:
Action:
app/views/contests/edit.html.haml | 20 lines | 382 B | text/x-haml | HamlLexer |
%h1 Editing contest
= form_for(@contest) do |f|
= f.error_messages
%table
%tr
%td= f.label :name
%td= f.text_field :name
%tr
%td= f.label :title
%td= f.text_field :title
%tr
%td
%td
= f.check_box :enabled
= f.label :enabled
%p
= f.submit 'Update'
= link_to 'Show', @contest
|
= link_to 'Back', contests_path