Blame view

app/templates/flash-messages.html 278 Bytes
a49732b5   hitier   Add current user ...
1
2
3
4
5
6
7
8
9
  {% with messages = get_flashed_messages(with_categories=true) %}
  {% if messages %}
  <div id="messages">
    {% for level, message in messages %}
    <div class="alert alert-{{level}}" role="alert">{{ message }}</div>
    {% endfor %}
  </div>
  {% endif %}
  {% endwith %}