%= form_for @map, url: map_url(@map) do |form| %>
Edit Map
<%= form.text_field :name %>
<%= form.text_area :desc, class: "description", :rows => 5 %>
<%= select_tag "outtopics", options_from_collection_for_select(@outtopics, "id", "name"), { :multiple => true } %>
<%= form.select :permission, options_for_select(['commons', 'public', 'private'], @map.permission) %>
<%= form.submit "Update", class: "update" %>
<% end %>