% form_for(@map, :html => {:multipart => true}) do |f| %>
Title
<%= f.text_field :title %>
Description (max 256 chars)
<%= f.text_area(:description, :rows => 12) %>
Tags (comma separated)
<%= f.text_field :tag_list %>
Publisher
<%= f.text_field :publisher %>
Author(s)
<%= f.text_field :authors %>
Scale
<%= f.text_field :scale %>
Published Date
<%= f.date_select(:published_date, :include_blank => true, :order => [:day, :month, :year ], :start_year => 1600, :end_year =>Time.now.year) %>
Reprint Date (optional)
<%= f.date_select(:reprint_date, :include_blank => true, :order => [:day, :month, :year ], :start_year => 1600, :end_year =>Time.now.year) %>
<%= f.file_field :upload %>
<%= f.file_field :upload %>
Map visibility.
<%= f.radio_button :public, "true" %>
<%= f.radio_button :public, "false" %>
<%= f.submit((defined?(page) && page =~ /new/) ? "Create" : "Update" )%>