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() %}
|
||||
<div class="flash {{ level }}" role="alert">
|
||||
{% for message in messages %}
|
||||
<div>{{ message }}</div>
|
||||
{% endfor %}
|
||||
<div class="flash {{ level }}" role="alert">
|
||||
{{ message }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user