]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_banner.html.erb
Merge pull request #4112 from AntonKhorev/no-float-inside-sidebar
[rails.git] / app / views / layouts / _banner.html.erb
1 <% unless (banner = next_banner()).nil? %>
2 <%= link_to (image_tag banner[:img], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %>
3 <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>
4 <% end %>