5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-02-19 23:01:50 +00:00
panel/app/views/bootstrap/_card.haml

10 lines
275 B
Text
Raw Normal View History

.card{ **local_assigns.except(:image, :description) }
- if local_assigns[:image]
= render 'bootstrap/responsive' do
= image_tag url_for(local_assigns[:image]), alt: local_assigns[:description], class: 'img-fluid'
.card-body
.card-title= title
= yield