From cf316bfcd2299c1d930a8f9af9c44f8cd6a0bc58 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 28 Feb 2018 18:34:45 +0100 Subject: Reorganize find wizard --- ishtar_common/templates/blocks/bs_form_snippet.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ishtar_common/templates/blocks/bs_form_snippet.html') diff --git a/ishtar_common/templates/blocks/bs_form_snippet.html b/ishtar_common/templates/blocks/bs_form_snippet.html index cc17b45eb..7c7d4175a 100644 --- a/ishtar_common/templates/blocks/bs_form_snippet.html +++ b/ishtar_common/templates/blocks/bs_form_snippet.html @@ -71,10 +71,7 @@ {% endif %}

{{field.name|from_dict:form.HEADERS|call:'render'}}

- -{% elif not search and forloop.counter0|divisibleby:2 or search and forloop.counter1|divisibleby:2 %} -{% if forloop.counter0 %} -
{% endif %} +{% elif not search and not forloop.counter0 or search and forloop.counter0 == 1 %}
{% endif %} {% include "blocks/bs_field_snippet.html" %} @@ -89,6 +86,7 @@
+ {% endif %} {% endif %} -- cgit v1.2.3