]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/error.html.erb
Users: avoid calling json.partial! in loop
[rails.git] / app / views / layouts / error.html.erb
index 590f32095dab8445db2c69c5e03d73f1e01a4477..dfcb3cb91c27a7924ded612df5a5596b71c9cb7a 100644 (file)
@@ -3,10 +3,13 @@
   <head>
     <meta charset="utf-8">
     <title>OpenStreetMap</title>
-    <%= stylesheet_link_tag "errors", :media=> "screen" %>
+    <%= stylesheet_link_tag "errors", :media => "screen" %>
+    <%= render :partial => "layouts/meta" %>
   </head>
   <body>
-    <%= image_tag "osm_logo.png", :class => "logo" %>
+    <a href="<%= root_path %>">
+      <%= image_tag "osm_logo.svg", :alt => t("layouts.logo.alt_text"), :class => "logo" %>
+    </a>
     <div class="details">
       <%= yield %>
     </div>