]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/error.html.erb
Use flex layout on error pages
[rails.git] / app / views / layouts / error.html.erb
index dfcb3cb91c27a7924ded612df5a5596b71c9cb7a..40b116aa8b12f60e5d85704ec4728253bb3ffcc2 100644 (file)
@@ -7,11 +7,13 @@
     <%= render :partial => "layouts/meta" %>
   </head>
   <body>
-    <a href="<%= root_path %>">
-      <%= image_tag "osm_logo.svg", :alt => t("layouts.logo.alt_text"), :class => "logo" %>
-    </a>
-    <div class="details">
-      <%= yield %>
-    </div>
+    <main>
+      <a href="<%= root_path %>" class="logo">
+        <%= image_tag "osm_logo.svg", :alt => t("layouts.logo.alt_text") %>
+      </a>
+      <div class="details">
+        <%= yield %>
+      </div>
+    </main>
   </body>
 </html>