]> git.openstreetmap.org Git - rails.git/commitdiff
Add close button to 404 page
authorAaron Lidman <aaronlidman@gmail.com>
Wed, 13 Nov 2013 02:03:02 +0000 (18:03 -0800)
committerAaron Lidman <aaronlidman@gmail.com>
Wed, 13 Nov 2013 02:03:02 +0000 (18:03 -0800)
app/views/browse/not_found.html.erb

index 103eb1c932d4dea4dc16103b187842f8cd615d2c..a8974b474706421dfb46e24362de714763fc6faa 100644 (file)
@@ -7,4 +7,6 @@
   };
 %>
 
-<h2><%= t'browse.not_found.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %></h2>
+<h2>
+    <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+    <%= t'browse.not_found.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %></h2>