box-o-sand/oldstuff/map-mash/app/views/maps/edit.html.erb

16 lines
266 B
Plaintext
Raw Normal View History

2012-04-04 03:02:32 +00:00
<h1>Editing map</h1>
<% form_for(@map) do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %><br />
<%= f.text_field :name %>
</p>
<p>
<%= f.submit 'Update' %>
</p>
<% end %>
<%= link_to 'Show', @map %> |
<%= link_to 'Back', maps_path %>