Commit a4d78cfc authored by dj3c1t's avatar dj3c1t

messages

parent bf464fe8
{% for message in messages['error'] %}
{% for label, flashes in app.session.flashbag.all %}
{% for message in flashes %}
<div class="row">
<div class="alert alert-danger">
<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
{{ message|trans }}
</div>
</div>
{% endfor %}
{% for message in messages['warning'] %}
<div class="row">
<div class="alert alert-warning">
<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
{{ message|trans }}
</div>
</div>
{% endfor %}
{% for message in messages['success'] %}
<div class="row">
<div class="alert alert-success">
<div class="alert alert-{{ label }}">
<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
{{ message|trans }}
</div>
</div>
{% endfor %}
{% endfor %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment