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 |
<h1>New contest</h1>
<%= form_for(@contest) do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %><br />
<%= f.text_field :name %>
</p>
<p>
<%= 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 %>
<%= link_to 'Back', contests_path %>