Sha256: 49decca5250df1a0f52235bedf5a188f113b8b187053d43e8c2cf2e96607b9d7

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 Bytes

Contents

- gallery.gallery_images.each do |g_image|
  - html_opts_for_li[:id] = "gallery_item_#{g_image.id}"

  %li{html_opts_for_li}
    - if g_image.asset.type_name == 'video'
    - else
      - image = g_image.asset
      %a{html_opts_for_a, :href => image.url_for(gallery_large_image), :rel => "gallery_#{gallery.slug}", "data-fancybox-title" => "<div class='caption'>#{g_image.caption}</div><div class='credit'>#{g_image.credits}</div>"}
        = asset_tag(image, gallery_thumb_image)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/public/shared/_gallery_images_lis.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/public/shared/_gallery_images_lis.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/public/shared/_gallery_images_lis.html.haml