box-o-sand/rails/map-mash/app/views/mashes/edit.html.erb
2012-03-04 11:51:35 -05:00

28 lines
511 B
Plaintext

<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 %>