{% block alerts -%}
    {% for flashMessage in app.session.flashbag.get('notice') -%}
        <div class="block-container">
            <div class="container">
                <div class="alert alert-{{ flashMessage.alert }} alert-dismissible" role="alert">
                    <button type="button" class="close" data-dismiss="alert">
                        <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
                    </button>
                    <strong>{{ flashMessage.title }}</strong> {{ flashMessage.message }}
                </div>
            </div>
        </div>
    {% endfor -%}
{% endblock alerts -%}
