From bb64481fa52683624736359fa9b70fd5502fb7a6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 18 Jan 2018 19:21:26 +0100 Subject: Better layoit for default forms --- .../templates/blocks/bs_form_snippet.html | 27 ++-------------------- 1 file changed, 2 insertions(+), 25 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 a9042ff67..dc24b2849 100644 --- a/ishtar_common/templates/blocks/bs_form_snippet.html +++ b/ishtar_common/templates/blocks/bs_form_snippet.html @@ -64,31 +64,8 @@
{% endif %} -
- {{ field.label_tag }} - {% if field.help_text %} -
- {% endif %} - {{field|safe}} - {% if field.help_text %} - - - -
-
-
- {{field.help_text}} -
-
- {% endif %} - {% if field.errors %}
- {{ field.errors }} -
{% endif %} -
+ + {% include "blocks/bs_field_snippet.html" %} {% if forloop.last %} {% if search and forloop.counter0 >= 1 %}
-- cgit v1.2.3