]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_banner.html.erb
Merge pull request #3552 from rugk/patch-1
[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]) %>"></button>
4 <% end %>