%#
# @file
# Form to create a new map.
# TODO: What URL is this accessible from?
# TODO: Is this code being used anymore?
#%>
<%= form_for @map || Map.new, url: 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 %>