]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/no_such_entry.html.erb
Firefox-friendly calculation of dragstart offset
[rails.git] / app / views / diary_entry / no_such_entry.html.erb
index eef0e47d2d73b284b5343cd107ea7ca0f364035a..ff9a811c76abdbb33ec1b6b93383fb18d9a34e26 100644 (file)
@@ -1,2 +1,5 @@
-<h2><%= t 'diary_entry.no_such_entry.heading', :id => h(params[:id]) %></h2>
+<% content_for :heading do %>
+  <h2><%= t 'diary_entry.no_such_entry.heading', :id => h(params[:id]) %></h2>
+<% end %>
+
 <p><%= t 'diary_entry.no_such_entry.body', :id => h(params[:id]) %></p>
 <p><%= t 'diary_entry.no_such_entry.body', :id => h(params[:id]) %></p>