x
1
2
3
4
5
<div class='gl-card'> <div class='gl-card-body'> <p>Every card has a body.</p> </div></div>
1
2
3
4
5
6
7
8
9
10
11
12
13
render(Pajamas::CardComponent.new) do |c| if header c.with_header { header } end c.with_body do content_tag(:p, body) end if footer c.with_footer { footer } endend
Card
See its design reference here.
Param | Description | Input |
---|---|---|
— |
|
|
— |
|
|
— |
|