From 7d2aa560ba859ebb593d34b062bf1faf09c8724c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 18 Oct 2012 17:49:57 +0200 Subject: Djangoization - Major refactoring (step 1) --- ishtar_common/templates/search.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ishtar_common/templates/search.html (limited to 'ishtar_common/templates/search.html') diff --git a/ishtar_common/templates/search.html b/ishtar_common/templates/search.html new file mode 100644 index 000000000..1b5829820 --- /dev/null +++ b/ishtar_common/templates/search.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} +{% load i18n %} +{% load range %} +{% block extra_head %} +{{form.media}} +{% endblock %} +{% block content %} + +
+{% if form.forms %} +
+ + {%if form.non_form_errors%}{%endif%} + {{ form.management_form }} + {% for formsetform in form.forms %} + {{ formsetform.as_table }} + {% endfor %} + +
{{form.non_form_errors}}
+{% else %} + + {{ form.as_table }} +
+{% endif %} +
+{% endblock %} -- cgit v1.2.3