Sha256: 2a997c8bc77058cd06fbf45c83ac2bce21ed19f9f145a0d6a955c57be79f77f1

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

- if resource.nil?
- else
  %notextile
    - if image_tag_only
      %img.img-fluid{ src: main_app.url_for(resource.asset.variant(variant_options)) }
    - else
      .row{ id: dom_id(resource), class: dom_class(resource) }
        .col-md-6.col-lg-3.d-flex.align-items-stretch.mb-4
          .card.text-center.border-0.w-100
            %img.card-img-top{ src: main_app.url_for(resource.asset.variant(variant_options)) }
            - if show_details
              .card-body
                %h5.card-title
                  = resource.title
                %p.card-text
                  = resource.description

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cmor_galleries-0.0.41.pre app/views/cmor/galleries/pictures_helper/_render.html.haml