]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_banner.html.erb
Add home location condition to user model
[rails.git] / app / views / layouts / _banner.html.erb
index bd0c902275013ebfdc7cf155ba3533916e252696..f806201eb8ff929eedc11585370ff904c42c3ecf 100644 (file)
@@ -1,4 +1,4 @@
 <% unless (banner = next_banner()).nil? %>
 <%= link_to (image_tag banner[:img], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %>
-<div class="close-wrap" id="<%= banner_cookie(banner[:id]) %>"><span class="icon close"></span></div>
+<button type="button" class="btn-close position-absolute top-0 end-0 p-4" id="<%= banner_cookie(banner[:id]) %>" aria-label="<%= t("javascripts.close") %>"></button>
 <% end %>