<%= form_for Map.new, url: maps_url, remote: true do |form|%>
Save to Map
<%= form.text_field :name %>
<%= form.text_area :desc, class: "description", :rows => 5 %>
<%= form.select(:permission, options_for_select(['commons', 'public', 'private'])) %>
<%= form.hidden_field :topicsToMap, :value => 0 %>
<%= form.submit "Save", class: "add" %>
<% end %>