Sha256: 74b03a2277343bd919a3dd2f4c1217bc0b76c38e1cf685669ce2e0ed4e141844

Contents?: true

Size: 699 Bytes

Versions: 3

Compression:

Stored size: 699 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_grandstand_gallery_path(gallery), :class => 'edit icon remote' %>
      <%= link_to '', delete_grandstand_gallery_path(gallery), :class => 'delete icon remote' %>
    </div>
  </div>
  <%= link_to(image_tag(gallery.cover_image.file.url(:grandstand_medium)), grandstand_gallery_path(gallery)) %>
  <% gallery.images.limit(100).each do |image| -%>
  <%= image_tag(image.file.url(:grandstand_medium)) %>
  <% end -%>
</div>
<% end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

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