Sha256: e5f47015cb44c09b39c09839f20537c21d51b8d4620dc17af611ea2c6168e0e9
Contents?: true
Size: 715 Bytes
Versions: 18
Compression:
Stored size: 715 Bytes
Contents
%h1= @resource.name %div{ id: dom_id(@resource), class: dom_class(@resource) } .row - @resource.picture_details.each do |picture_detail| .col-md-6.col-lg-3.d-flex.align-items-stretch.mb-4 .card.text-center.border-0 %a{ href: main_app.url_for(picture_detail.asset), data: { gallery: dom_id(@resource) } } %img.img-fluid{ src: main_app.url_for(picture_detail.asset.variant(Cmor::Galleries::Configuration.thumbnail_variant_options)) } .card-body %h5.card-title = picture_detail.title %p.card-text = picture_detail.description .row.mt-4 .col-12 = link_to(t('.back'), last_location, class: 'btn btn-primary')
Version data entries
18 entries across 18 versions & 1 rubygems