Sha256: f4b30811ef2e651792f5b0bfcc1418ddb5299f0e5604667d5bcde8bbacb15446

Contents?: true

Size: 509 Bytes

Versions: 4

Compression:

Stored size: 509 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grandstand-0.2.4 app/views/admin/galleries/index.html.erb
grandstand-0.2.3 app/views/admin/galleries/index.html.erb
grandstand-0.2.2 app/views/admin/galleries/index.html.erb
grandstand-0.2.1 app/views/admin/galleries/index.html.erb