Sha256: 84ebfb22912f58c86388f2443b17b088fd78b5cc2478b4e7a653a457b184fbd0

Contents?: true

Size: 581 Bytes

Versions: 10

Compression:

Stored size: 581 Bytes

Contents

%h1= resource_class.model_name.human(count: :other)

.row
  - @collection.each do |picture_gallery|
    .col-4
      - image_options = if picture_gallery.assets.any?
        - { src: main_app.url_for(picture_gallery.assets.first) }
      - else
        - {}
      = bootstrap_card(image_options: image_options, additional_css_classes: 'text-center border-0') do
        .card-body
          %h5.card-title
            = picture_gallery.name
          %p.card-text
            = picture_gallery.description
          = link_to(t('.show'), picture_gallery, class: 'btn btn-primary')

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ecm_galleries-0.4.1 app/views/ecm/galleries/picture_galleries/index.html.haml
ecm_galleries-0.4.0 app/views/ecm/galleries/picture_galleries/index.haml
ecm_galleries-0.2.0 app/views/ecm/galleries/picture_galleries/index.haml
ecm_galleries-0.1.0 app/views/ecm/galleries/picture_galleries/index.haml
ecm_galleries-0.0.8 app/views/ecm/galleries/picture_galleries/index.haml
ecm_galleries-0.0.7 app/views/ecm/galleries/picture_galleries/index.haml
ecm_galleries-0.0.6 app/views/ecm/galleries/picture_galleries/index.haml
ecm_galleries-0.0.5 app/views/ecm/galleries/picture_galleries/index.haml
ecm_galleries-0.0.3 app/views/ecm/galleries/picture_galleries/index.haml
ecm_galleries-0.0.2 app/views/ecm/galleries/picture_galleries/index.haml