<%# # @file # Form for editing a map # Located at addresses /maps/:id/edit. In use. #%> <%= form_for @map, url: map_url(@map) do |form| %>

Edit Map

<%= form.text_field :name %> <%= form.text_area :desc, class: "description", :rows => 5 %> <%= form.select :permission, options_for_select(['commons', 'public', 'private'], @map.permission) %> <%= form.submit "Update", class: "update" %> <% end %>