X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/93e21aea7d87049a8d7f0382fac2f963ad9acad7..c66f850cd123f751a229888fae31f7e2303b4169:/app/views/traces/new.html.erb?ds=sidebyside diff --git a/app/views/traces/new.html.erb b/app/views/traces/new.html.erb index b7951cb32..bff8cd3bc 100644 --- a/app/views/traces/new.html.erb +++ b/app/views/traces/new.html.erb @@ -4,7 +4,7 @@ <%= 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.text_field :description, :maxlength => 255 %> <%= f.text_field :tagstring %> <%= f.select :visibility, [[t("traces.visibility.private"), "private"],