]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/edit.html.erb
Guard against non-numeric lat and lons in nodes and notes
[rails.git] / app / views / diary_entry / edit.html.erb
index 0cdd3b098b4ac1e5467bd1a2522add0d9e8259e6..0c83ef4ce3dcd75018579dde245a71dd0b1f4ccc 100644 (file)
@@ -2,7 +2,9 @@
   <%= javascript_include_tag "diary_entry" %>
 <% end %>
 
   <%= javascript_include_tag "diary_entry" %>
 <% end %>
 
-<h1><%= @title %></h1>
+<% content_for :heading do %>
+  <h1><%= @title %></h1>
+<% end %>
 
 <%= error_messages_for 'diary_entry' %>
 
 
 <%= error_messages_for 'diary_entry' %>