{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% if category != "banner-warning" and category != "logo-success" and category != "logo-error"%}
{% if category == "notification" %} {% elif category == "success" %} {% elif category == "error" %} {% endif %} {{ message }}
{% endif %} {% endfor %} {% endif %} {% endwith %}