]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/application/_sidebar_header.html.erb
Fix new rubocop warnings
[rails.git] / app / views / application / _sidebar_header.html.erb
index ed88a5ae3e0caea234671993664cd80da34fa629..88a1fff4ab631fb5d915185fb4a3b51e6ca3ac4e 100644 (file)
@@ -1,6 +1,6 @@
 <div class="d-flex w-100">
   <h2 class="flex-grow-1 text-break"><%= title %></h2>
   <div>
-    <a class="geolink d-block btn-close" href="<%= root_path %>"></a>
+    <button type="button" class="btn-close" aria-label="<%= t("javascripts.close") %>"></button>
   </div>
 </div>