Replace parenthesis is template
This commit is contained in:
parent
c3b22992ea
commit
ec5bfb18b3
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{% if messages %}
|
||||
<ul class="list-unstyled msg-list">
|
||||
{% for message in messages %}
|
||||
<div class="alert {% if message.tags and (message.tags == 'error' or message.tags == 'vat_error') %} alert-danger {% else %} alert-{{message.tags}} {% endif %}">{{ message|safe }}</div>
|
||||
<div class="alert {% if message.tags and message.tags == 'error' or message.tags and message.tags == 'vat_error' %} alert-danger {% else %} alert-{{message.tags}} {% endif %}">{{ message|safe }}</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
Loading…
Reference in a new issue