]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/edit.html.erb
Fixed up the <title>/<h2> mess in trace/edit and trace/view
[rails.git] / app / views / trace / edit.html.erb
index a3fab1e31d99173d6bdb7a690909d785795ae83a..d8fc46f3e3755759bb665263a7fb3ce5fc662a2b 100644 (file)
@@ -1,4 +1,4 @@
-<h2><%= h(@title) %></h2>
+<h2><%= t 'trace.edit.heading', :name => @trace.name %></h2>
 
 <img src="<%= url_for :controller => 'trace', :action => 'picture', :id => @trace.id, :display_name => @trace.user.display_name %>">
 
@@ -7,7 +7,7 @@
 <table border="0">
   <tr>
     <td><%= t'trace.edit.filename' %></td>
-    <td><%= @trace.name %> (<%= link_to 'download', :controller => 'trace', :action => 'data', :id => @trace.id %>)</td>
+    <td><%= @trace.name %> (<%= link_to t('trace.edit.download'), :controller => 'trace', :action => 'data', :id => @trace.id %>)</td>
   </tr> 
   <tr>
     <td><%= t'trace.edit.uploaded_at' %></td>