]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/error.html.erb
Fix new rubocop warnings
[rails.git] / app / views / layouts / error.html.erb
index 9b5f4f34b9536718974ceecadb42a36372f55f42..db6179769ded9e4c8a23d67812b6a40d5dd7e27b 100644 (file)
@@ -4,11 +4,12 @@
     <meta charset="utf-8">
     <title>OpenStreetMap</title>
     <%= stylesheet_link_tag "errors", :media => "screen" %>
     <meta charset="utf-8">
     <title>OpenStreetMap</title>
     <%= stylesheet_link_tag "errors", :media => "screen" %>
+    <%= render :partial => "layouts/meta" %>
   </head>
   <body>
     <a href="<%= root_path %>">
       <picture>
   </head>
   <body>
     <a href="<%= root_path %>">
       <picture>
-        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml"></source>
+        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml" />
         <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
       </picture>
     </a>
         <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
       </picture>
     </a>