{#
 # Block that displays flash messages, text is parsed by
 # markdown to provide rich alerts
 #}

{% for label, flashes in app.session.flashbag.all %}
    {% for flash in flashes %}
        <div class="alert alert-{{ label }}" role="alert" >
            {{ flash|markdown }}
        </div>
    {% endfor %}
{% endfor %}
