5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 15:56:20 +00:00
panel/app/views/bootstrap/_card.haml

8 lines
234 B
Text

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