messages.html 261 B

12345678
  1. <div id="messages" class="col-md-4 col-lg-2 col-xs-12">
  2. {% if messages %}
  3. {% for message in messages %}
  4. <div class="alert alert-{%if message.tags == 'error'%}danger{%else%}{{message.tags}}{%endif%}">{{message}}</div>
  5. {% endfor %}
  6. {% endif %}
  7. </div>