blob: d436cc73e827b2c81080dfc5be85ce2b9d8bae20 (
plain) (
tree)
|
|
<div id="slider">
<% if @page.present? and @page.banners.published.present? %>
<%= render :partial => 'refinery/banners/shared/banner_image', :collection => @page.banners.published %>
<% elsif @banners.present? then %>
<%= render :partial => 'refinery/banners/shared/banner_image', :collection => @banners %>
<% else %>
<!--todo: insert static images here-->
<% end %>
</div>
|