Sha256: 9f7f81bd9fc820570faeb9ae080f78e5ed37081e99112d13108400af29bf3dd4

Contents?: true

Size: 595 Bytes

Versions: 2

Compression:

Stored size: 595 Bytes

Contents

<% content_for :left do %>
  <%= button_link_to('Add a Gallery', new_grandstand_gallery_path, :class => 'remote', :icon => 'add') %>
<% end %>
<% if @galleries.empty? -%>
<div class="inset">
  <h2 class="">You haven't set up any galleries!</h2>
  <%= image_tag('/grandstand/images/galleries-empty.png') %>
  <br /><b class="grey">Get started:</b> <%= button_link_to('Add a Gallery', new_grandstand_gallery_path, :class => 'remote', :icon => 'add') %>
</div>
<% else -%>
<div class="galleries sortable">
  <%= render :partial => 'list', :locals => {:galleries => @galleries} %>
</div>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grandstand-0.2.7 app/views/grandstand/galleries/index.html.erb
grandstand-0.2.6 app/views/grandstand/galleries/index.html.erb