%= form_for @map, url: user_map_url(@user, @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']), { :selected => @map.permission }) %>
<%= form.submit "Update", class: "update" %>
<% end %>