X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..49ba5ab6d2e98221246635327eb15dc71c97e67d:/app/views/traces/new.html.erb diff --git a/app/views/traces/new.html.erb b/app/views/traces/new.html.erb index b7951cb32..ae5ffe565 100644 --- a/app/views/traces/new.html.erb +++ b/app/views/traces/new.html.erb @@ -3,8 +3,9 @@ <% 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"],