Sha256: 2926854cca3b3236fb819ecd2e6d4cfcc3e1440ff8255c7bda6228651157076f

Contents?: true

Size: 674 Bytes

Versions: 4

Compression:

Stored size: 674 Bytes

Contents

<% galleries.each do |gallery| -%>
<div class="inset gallery container" id="galleries_<%= gallery.url %>">
  <div class="header">
    <div class="float-left gallery icon">
      <%= (gallery.name) %>
    </div>
    <div class="float-right">
      <%= link_to '', edit_admin_gallery_path(gallery), :class => 'edit icon remote' %>
      <%= link_to '', delete_admin_gallery_path(gallery), :class => 'delete icon remote' %>
    </div>
  </div>
  <%= link_to(image_tag(gallery.cover_image.file.url(:admin_medium)), admin_gallery_path(gallery)) %>
  <% gallery.images.limit(100).each do |image| -%>
  <%= image_tag(image.file.url(:admin_medium)) %>
  <% end -%>
</div>
<% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

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