]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/edit.html.erb
Merge pull request #3700 from AntonKhorev/about
[rails.git] / app / views / traces / edit.html.erb
index 13829727c9378b6443daf46af126ae82fc578cf3..09fe9c510515c0eae9aa3650a5edb1ebdf2f8280 100644 (file)
@@ -1,12 +1,12 @@
 <% content_for :heading do %>
-  <h2><%= t ".heading", :name => @trace.name %></h2>
+  <h1><%= t ".heading", :name => @trace.name %></h1>
 <% end %>
 
 <img src="<%= url_for :controller => "traces", :action => "picture", :id => @trace.id, :display_name => @trace.user.display_name %>">
 
 <%= bootstrap_form_for @trace do |f| %>
   <%= f.text_field :name, :disabled => true %>
-  <%= f.text_field :description %>
+  <%= f.text_field :description, :maxlength => 255 %>
   <%= f.text_field :tagstring %>
   <%= f.select :visibility,
                [[t("traces.visibility.private"), "private"],