15 lines
232 B
Plaintext
15 lines
232 B
Plaintext
|
<h1>New map</h1>
|
||
|
|
||
|
<% form_for(@map) do |f| %>
|
||
|
<%= f.error_messages %>
|
||
|
|
||
|
<p>
|
||
|
<%= f.label :name %><br />
|
||
|
<%= f.text_field :name %>
|
||
|
</p>
|
||
|
<p>
|
||
|
<%= f.submit 'Create' %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
|
||
|
<%= link_to 'Back', maps_path %>
|