(refactor): Fixed format of the with/if blocks
This commit is contained in:
parent
85c9ab1364
commit
7a88a01e0b
2 changed files with 10 additions and 10 deletions
|
|
@ -15,11 +15,11 @@
|
|||
</p>
|
||||
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
{% for category, message in messages %}
|
||||
<div class="flash">{{ message }}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if messages %}
|
||||
{% for category, message in messages %}
|
||||
<div class="flash">{{ message }}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
{% if emails %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue