16 lines
266 B
Plaintext
16 lines
266 B
Plaintext
<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 %> |