{% for flashMessage in app.session.flashbag.get('list-response-success') %}
    <div class="alert alert-success alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">
            <i class="fa fa-times"></i>
        </button>
        <h4><i class="icon fa fa-check"></i> Success!</h4>
        {{ flashMessage }}
    </div>
{% endfor %}

{% for flashMessage in app.session.flashbag.get('list-response-failure') %}
    <div class="alert alert-danger alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">
            <i class="fa fa-times"></i>
        </button>
        <h4><i class="icon fa fa-check"></i> Failure!</h4>
        {{ flashMessage }}
    </div>
{% endfor %}
