Sha256: 7fcdbb36ca111cc469f41f428596fcc833af48ac2d61c896abc05dc2d7dd1b37
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
.container.text-center %h2.mb-4.font-weight-bold = block.title %p.grey-text = block.description .row{ id: block.anchor } -# FIXME bad guy mode ON - eval("@collection_#{block.anchor}").each do |item| .col-lg-4.col-md-12.mb-4 - if item.path.present? = link_to item.path do .card.link .view.overlay.hm-white-slight = image_tag item.image, class: 'img-fluid' = link_to '#' do .mask .card-body %h4.card-title = item.title %p.card-text = item.description - if item.button.present? = link_to item.button.text, item.button.url, class: 'btn btn-primary' - else .card .view.overlay.hm-white-slight = image_tag item.image, class: 'img-fluid' = link_to '#' do .mask .card-body %h4.card-title = item.title %p.card-text = item.description - if item.button.present? = link_to item.button.text, item.button.url, class: 'btn btn-primary'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tramway-landing-1.0 | app/views/tramway/landing/blocks/block_types/_cards.html.haml |