x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class='gl-card gl-mb-5'>
<div class='gl-card-header'>
header
</div>
<div class='gl-card-body'>
Every card has a body
</div>
<div class='gl-card-footer'>
footer
</div>
</div>
<div class='gl-card gl-mb-5'>
<div class='gl-card-header'>
second header
</div>
<div class='gl-card-body'>
second body
</div>
<div class='gl-card-footer'>
second footer
</div>
</div>
1
render(Pajamas::CardComponent.with_collection(collection, card_options: { class: 'gl-mb-5' }))
Param Description Input

collection of cards as an array of hashes with header, body, footer