]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/new.html.erb
Merge remote-tracking branch 'upstream/pull/4696'
[rails.git] / app / views / traces / new.html.erb
index b7951cb32eb8f167f46b11e0cef5500441ec4323..bff8cd3bc0af22acd12731ebf364c4087b8fcbd2 100644 (file)
@@ -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"],