<%= form_for @map || Map.new, url: user_maps_url do |form|%>
Add Map
<%= form.text_field :name %>
<%= form.text_area :desc, class: "description", :rows => 5 %>
<%= form.select(:permission, options_for_select(['commons', 'public', 'private'])) %>
<%= form.submit "Add Map", class: "add" %>
<% end %>