(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 @@
|
|||
<a href="{{ url_for('logout') }}">Logout</a>
|
||||
</p>
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="flash">{{ message }}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="flash">{{ message }}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<form action="{{ url_for('send_update') }}" method="POST">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue