]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/not_found.html.erb
Use nominatim_url setting more consistently
[rails.git] / app / views / browse / not_found.html.erb
index 3c4e8a4c837db40655e4c36e717fc52e22f45147..36ee4c883769ee3b28da09693c025bb499ffb7a5 100644 (file)
@@ -1,4 +1,7 @@
-<h2>
-  <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %>
-</h2>
+<% set_title(t(".title")) %>
+
+<%= render "sidebar_header", :title => t(".title") %>
+
+<div>
+  <p><%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %>
+</div>