Sha256: 315f2e8522dbc617c6c3d58aca4955e7c7a1ce79ea4ce742a9da2fc9f34df4ee

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

<% content_for :title do %>
  <%= button_link_to('Add a Gallery', new_grandstand_gallery_path, :class => 'remote', :icon => 'add') %>
<% end %>
<h2>Galleries</h2>
<% if @galleries.empty? -%>
<div class="pad">
  <h3>You haven't set up any galleries!</h3>
  <%= button_link_to('Add One Now?', 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

1 entries across 1 versions & 1 rubygems

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