Show More
Commit Description:
fix user profile, add test
Commit Description:
fix user profile, add test
References:
File last commit:
Show/Diff file:
Action:
app/views/contests/edit.html.haml
| 20 lines
| 382 B
| text/x-haml
| HamlLexer
|
r668 | %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 | ||||