Render a flash message component for each message
This commit is contained in:
parent
1c0109ba2f
commit
7fd5798454
@ -1,7 +1,7 @@
|
|||||||
{% for level, messages in session.getFlash().all() %}
|
{% for level, messages in session.getFlash().all() %}
|
||||||
<div class="flash {{ level }}" role="alert">
|
{% for message in messages %}
|
||||||
{% for message in messages %}
|
<div class="flash {{ level }}" role="alert">
|
||||||
<div>{{ message }}</div>
|
{{ message }}
|
||||||
{% endfor %}
|
</div>
|
||||||
</div>
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user