Sha256: 4cba979b0d1a5fe779e7a954e23f0fb271867b7f965bd34ae0529cb198c32ec3
Contents?: true
Size: 757 Bytes
Versions: 39
Compression:
Stored size: 757 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 = bootstrap_card(additional_css_classes: 'text-center border-0' ) do %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
39 entries across 39 versions & 1 rubygems