Show More
Commit Description:
update
Commit Description:
update
References:
File last commit:
Show/Diff file:
Action:
app/views/contests/new.html.erb
| 23 lines
| 401 B
| text/plain
| TextLexer
|
|
r266 | <h1>New contest</h1> | ||
|
r319 | <%= form_for(@contest) do |f| %> | ||
|
r266 | <%= f.error_messages %> | ||
<p> | ||||
|
r279 | <%= f.label :name %><br /> | ||
<%= f.text_field :name %> | ||||
</p> | ||||
<p> | ||||
|
r266 | <%= f.label :title %><br /> | ||
<%= f.text_field :title %> | ||||
</p> | ||||
<p> | ||||
<%= f.label :enabled %><br /> | ||||
<%= f.check_box :enabled %> | ||||
</p> | ||||
<p> | ||||
<%= f.submit 'Create' %> | ||||
</p> | ||||
<% end %> | ||||
|
r279 | <%= link_to 'Back', contests_path %> | ||