%= 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 %>
<%= select_tag "outitems", options_from_collection_for_select(@outitems, "id", "name"), { :multiple => true } %>
<%= form.select :permission, options_for_select(['commons', 'public', 'private'], @map.permission) %>
<%= form.submit "Update", class: "update" %>
<% end %>