% form_for :trace, @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %>
<%= t'trace.trace_form.upload_gpx' %> | <%= f.file_field :gpx_file, :size => 50, :maxlength => 255 %> |
<%= t'trace.trace_form.description' %> | <%= f.text_field :description, :size => 50, :maxlength => 255 %> |
<%= t'trace.trace_form.tags' %> | <%= f.text_field :tagstring, :size => 50, :maxlength => 255 %> (<%= t'trace.trace_form.tags_help' %>) |
<%= t'trace.trace_form.public' %> | <%= f.check_box :public %> (<%= t'trace.trace_form.public_help' %>) |
<%= submit_tag t('trace.trace_form.upload_button') %> | <%= t'trace.trace_form.help' %> |