aboutsummaryrefslogtreecommitdiff
path: root/app/templates/flash_messages.html
blob: b524c24263d00d66db1300f94d8d9330ee6596da (plain)
1
2
3
4
5
6
7
{% with messages = get_flashed_messages(with_categories=true) %}
  {% if messages %}
    {% for category, message in messages %}
      <div class="alert alert-{{ category }}">{{ message }}</div>
    {% endfor %}
  {% endif %}
{% endwith %}