--- title: Alerts menu: base.alerts page-header: Alerts ---
Wrap any text and an optional dismiss button in .alert
and one of the four contextual classes (e.g., .alert-success
) for basic alert messages.
Build on any alert by adding an optional icon.
{% include "ui/alert.html" type="success" show-icon=true %} {% include "ui/alert.html" type="warning" show-icon=true %} {% include "ui/alert.html" type="danger" show-icon=true %} {% include "ui/alert.html" type="info" show-icon=true %}Build on any alert by adding an optional .alert-dismissible
and close button.
Build on any alert by adding an optional .alert-dismissible
and close button.