From ae6ddecdc6c9dc49488341a9c0d9a20282858e7b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 3 Feb 2016 20:14:12 +0100 Subject: Readjust search fields with flex --- ishtar_common/templates/blocks/JQueryJqGrid.html | 1 - ishtar_common/templates/blocks/form_flex_snippet.html | 14 ++++++++++++++ ishtar_common/templates/ishtar/wizard/default_wizard.html | 4 ++-- ishtar_common/templates/ishtar/wizard/search.html | 9 ++++----- 4 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 ishtar_common/templates/blocks/form_flex_snippet.html (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/blocks/JQueryJqGrid.html b/ishtar_common/templates/blocks/JQueryJqGrid.html index bba1ef784..1639c70f2 100644 --- a/ishtar_common/templates/blocks/JQueryJqGrid.html +++ b/ishtar_common/templates/blocks/JQueryJqGrid.html @@ -1,5 +1,4 @@ {% load i18n %} - diff --git a/ishtar_common/templates/blocks/form_flex_snippet.html b/ishtar_common/templates/blocks/form_flex_snippet.html new file mode 100644 index 000000000..03d8b15f0 --- /dev/null +++ b/ishtar_common/templates/blocks/form_flex_snippet.html @@ -0,0 +1,14 @@ +{% load i18n %} + diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html index a39037d10..1a17cf32b 100644 --- a/ishtar_common/templates/ishtar/wizard/default_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html @@ -35,9 +35,9 @@ {% else %} - +{% if not is_search %}
{% endif %} {% table_form wizard.form %} -
+{% if not is_search %}{% endif %} {% endif %} {{ previous_fields|safe }} diff --git a/ishtar_common/templates/ishtar/wizard/search.html b/ishtar_common/templates/ishtar/wizard/search.html index 5cf96552b..e5066cf87 100644 --- a/ishtar_common/templates/ishtar/wizard/search.html +++ b/ishtar_common/templates/ishtar/wizard/search.html @@ -8,8 +8,8 @@ -
{% if wizard.form.forms %} +
{%if wizard.form.non_form_errors%}{%endif%} @@ -20,9 +20,8 @@
{{wizard.form.non_form_errors}}
{% else %} - - {{ wizard.form.as_table }} -
-{% endif %} +
+ {{ wizard.form.as_p }}
+{% endif %} {% endblock %} -- cgit v1.2.3