aboutsummaryrefslogtreecommitdiff
path: root/wqflask/flask_security/templates/security/_messages.html
blob: 179d06365690c7c1bd12bc687b8971946cb38fe7 (about) (plain)
1
2
3
4
5
6
7
8
9
{%- with messages = get_flashed_messages(with_categories=true) -%}
  {% if messages %}
    <ul class="flashes">
    {% for category, message in messages %}
      <li class="{{ category }}">{{ message }}</li>
    {% endfor %}
    </ul>
  {% endif %}
{%- endwith %}