]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/reports/new.html.erb
Avoid submit_tag to avoid 'Save changes' default
[rails.git] / app / views / reports / new.html.erb
index a39b5b15115f7596ba5f56955970cdafa51a4e88..7acf91d9c40354b858753d1f83280dda6a7eaca5 100644 (file)
@@ -1,5 +1,5 @@
 <% content_for :heading do %>
-  <h1>Report <%= reportable_url(@report.issue.reportable) %></h1>
+  <h1><%= t ".title_html", :link => reportable_url(@report.issue.reportable) %></h1>
 <% end %>
 
 <div class="disclaimer">
@@ -36,7 +36,7 @@
     </div>
 
     <div class='buttons'>
-      <%= submit_tag %>
+      <%= f.submit %>
     </div>
   </fieldset>
 <% end %>