]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/error.html.erb
Move the login form rules to be based on screen size
[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     <%= render :partial => "layouts/meta" %>
8   </head>
9   <body>
10     <a href="<%= root_path %>">
11       <picture>
12         <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml" />
13         <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
14       </picture>
15     </a>
16     <div class="details">
17       <%= yield %>
18     </div>
19   </body>
20 </html>