displaying form title and link only if they are present(this prevents
displaying eventual error messages)
This commit is contained in:
parent
d3294abf95
commit
99877c29ad
|
@ -1,7 +1,7 @@
|
|||
{% if demarches_en_cours %}
|
||||
<ul class="aq-forms-plg-listing" {% if demarches_en_cours|length <= 1 %}style="-moz-column-count: 1; -webkit-column-count: 1; column-count: 1"{% endif %}>
|
||||
{% for data in demarches_en_cours %}
|
||||
{% if not data.form_status_is_endpoint %}
|
||||
{% if data.url and data.title and not data.form_status_is_endpoint %}
|
||||
<li class="aq-forms-plg-item">
|
||||
<a class="aq-forms-plg-link"
|
||||
href="{{ data.url }}">{{ data.title }}</a>
|
||||
|
|
Reference in New Issue