PanelWarning
^do( PanelWarning, title, body )^
Type: Macro
Purpose: Adds a warning-class Panel
The PanelWarning macro inserts a (yellow) Bootstrap panel with class .panel-warning
.
Hover below to reveal BoxPress code
<div class="panel panel-warning"><div class="panel-heading">$1</div><div class="panel-body small">$2</div></div>
PanelWarning sample
This is the markup that is rendered below
^do(PanelWarning, "This is my title", "This is my body.")^
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
This is my title
This is my body.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.