Merge remote-tracking branch 'upstream/pull/1576'
[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 <div class="close-wrap" id="<%= banner_cookie(banner[:id]) %>"><span class="icon close"></span></div>
4 <% end %>