<% end %>
<%= bootstrap_form_for @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %>
- <%= f.file_field :gpx_file, :placeholder => t("helpers.file.prompt") %>
- <%= f.text_field :description %>
+ <%= f.file_field :gpx_file, :placeholder => t("helpers.file.prompt"),
+ :help => ".gpx, .tar.gz, .tar.bz2, .tar, .zip, .gpx.gz, .gpx.bz2" %>
+ <%= f.text_field :description, :maxlength => 255 %>
<%= f.text_field :tagstring %>
<%= f.select :visibility,
[[t("traces.visibility.private"), "private"],