{% for message in app.flashes('primary') %}
<div class="alert alert-primary alert-dismissible fade show" role="alert">
<span class="alert-inner--icon"><i class="fas fa-trophy"></i></span>
<span class="alert-inner--text"><strong>Succès</strong> {{ message }}</span>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endfor %}
{% for message in app.flashes('secondary') %}
<div class="alert alert-secondary alert-dismissible fade show" role="alert">
<span class="alert-inner--icon"><i class="fas fa-check"></i></span>
<span class="alert-inner--text"><strong>Succès</strong> {{ message }}</span>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endfor %}
{% for message in app.flashes('success') %}
<div class="alert alert-success alert-dismissible fade show" role="alert">
<span class="alert-inner--icon"><i class="far fa-thumbs-up"></i></span>
<span class="alert-inner--text"><strong>Succès</strong> {{ message }}</span>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endfor %}
{% for message in app.flashes('info') %}
<div class="alert alert-info alert-dismissible fade show" role="alert">
<span class="alert-inner--icon"><i class="far fa-bell"></i></span>
<span class="alert-inner--text"><strong>Information</strong> {{ message }}</span>
<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">
<span class="alert-inner--icon"><i class="fas fa-exclamation-circle"></i></span>
<span class="alert-inner--text"><strong>Attention!</strong> {{ message }}</span>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endfor %}
{% for message in app.flashes('danger') %}
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<span class="alert-inner--icon"><i class="fas fa-hand-paper"></i></span>
<span class="alert-inner--text"><strong>Erreur</strong> {{ message }}</span>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endfor %}