|
@@ -78,23 +78,6 @@
|
|
|
</header>
|
|
|
<main role="main">
|
|
|
<div>
|
|
|
- {#{% for message in app.flashes('success') %}
|
|
|
- <div class="alert alert-success alert-dismissible fade show" role="alert">
|
|
|
- <strong>Succès</strong> {{ message }}
|
|
|
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
|
- <span aria-hidden="true">×</span>
|
|
|
- </button>
|
|
|
- </div>
|
|
|
- {% endfor %}
|
|
|
- {% for message in app.flashes('warning') %}
|
|
|
- <div class="alert alert-warning alert-dismissible fade show" role="alert">
|
|
|
- <strong>Attention</strong> {{ message }}
|
|
|
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
|
- <span aria-hidden="true">×</span>
|
|
|
- </button>
|
|
|
- </div>
|
|
|
- {% endfor %}
|
|
|
- #}
|
|
|
{% for type, messages in app.session.flashBag.all %}
|
|
|
{% for message in messages %}
|
|
|
{% if type == 'error' %}{% set type = 'danger' %} {% endif %}
|