]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/error.html.erb
Merge remote-tracking branch 'upstream/pull/4579'
[rails.git] / app / views / layouts / error.html.erb
index 9b5f4f34b9536718974ceecadb42a36372f55f42..435de3015346f97b9c8a72c1ff204acf0ba3ac4c 100644 (file)
@@ -4,13 +4,11 @@
     <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 %>">
   </head>
   <body>
     <a href="<%= root_path %>">
-      <picture>
-        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml"></source>
-        <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
-      </picture>
+      <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
     </a>
     <div class="details">
       <%= yield %>
     </a>
     <div class="details">
       <%= yield %>