<div class="alert alert-{{ type }} {% if icon is defined %}alert-icon{% endif %}{% if class is defined %}{{ class }}{% endif %}">{% if icon is defined %}<i class="{{icon}}"></i>{% endif %} {{ message|raw }}</div>