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