]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/error.html.erb
Merge remote-tracking branch 'upstream/pull/834'
[rails.git] / app / views / layouts / error.html.erb
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3   <head>
4     <meta charset="utf-8">
5     <title>OpenStreetMap</title>
6     <%= stylesheet_link_tag "errors", :media => "screen" %>
7   </head>
8   <body>
9     <a href="<%= root_path %>">
10       <picture>
11         <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml"></source>
12         <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
13       </picture>
14     </a>
15     <div class="details">
16       <%= yield %>
17     </div>
18   </body>
19 </html>