You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
511 B
28 lines
511 B
<h1>Editing mash</h1>
|
|
|
|
<% form_for(@mash) do |f| %>
|
|
<%= f.error_messages %>
|
|
|
|
<p>
|
|
<%= f.label :requester %><br />
|
|
<%= f.text_field :requester %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :map_a %><br />
|
|
<%= f.text_field :map_a %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :map_b %><br />
|
|
<%= f.text_field :map_b %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :winner %><br />
|
|
<%= f.text_field :winner %>
|
|
</p>
|
|
<p>
|
|
<%= f.submit 'Update' %>
|
|
</p>
|
|
<% end %>
|
|
|
|
<%= link_to 'Show', @mash %> |
|
|
<%= link_to 'Back', mashes_path %> |