displaying form title and link only if they are present(this prevents

displaying eventual error messages)
This commit is contained in:
Serghei Mihai 2014-12-18 09:42:33 +01:00
parent d3294abf95
commit 99877c29ad
1 changed files with 1 additions and 1 deletions

View File

@ -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>