forked from ScoDoc/ScoDoc
Fichier oublié (flask flash)
This commit is contained in:
parent
f7c90397a8
commit
bee7b74f17
9
app/templates/flashed_messages.html
Normal file
9
app/templates/flashed_messages.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{# Message flask : utilisé uniquement par les anciennes pages ScoDoc #}
|
||||||
|
{# -*- mode: jinja-html -*- #}
|
||||||
|
<div class="head_message_container">
|
||||||
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||||
|
{% for category, message in messages %}
|
||||||
|
<div class="head_message alert-info alert-{{ category }}" role="alert">{{ message }}</div>
|
||||||
|
{% endfor %}
|
||||||
|
{% endwith %}
|
||||||
|
</div>
|
Loading…
Reference in New Issue
Block a user