summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-21 01:31:49 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-21 01:31:49 +0200
commit48eb91979705f9999b724c8e2f960fd7931775c1 (patch)
treeb0ce9167008a2ef608f522680f3d11a0459663e4 /ishtar_common/templates
parent5b8c7201eefa8b404afb0cb89b389fd3e8f92899 (diff)
downloadIshtar-48eb91979705f9999b724c8e2f960fd7931775c1.tar.bz2
Ishtar-48eb91979705f9999b724c8e2f960fd7931775c1.zip
Djangoization - Major refactoring (step 7)
Work on archaeological_files wizards
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/wizard/search.html (renamed from ishtar_common/templates/search.html)13
1 files changed, 7 insertions, 6 deletions
diff --git a/ishtar_common/templates/search.html b/ishtar_common/templates/ishtar/wizard/search.html
index 1b5829820..7ed214a48 100644
--- a/ishtar_common/templates/search.html
+++ b/ishtar_common/templates/ishtar/wizard/search.html
@@ -2,26 +2,27 @@
{% load i18n %}
{% load range %}
{% block extra_head %}
-{{form.media}}
+{{wizard.form.media}}
{% endblock %}
{% block content %}
+<h2>{{wizard_label}}</h2>
<ul id='form_path'>
<li class='current'>&raquo;&nbsp;<a href='#'>{{form.form_label}}</a></li>
</ul>
<div class='form'>
-{% if form.forms %}
+{% if wizard.form.forms %}
<div class='top_button'><input type="submit" id="submit_form" value="{% trans "Validate" %}"/></div>
<table class='formset'>
- {%if form.non_form_errors%}<tr class='error'><th colspan='2'>{{form.non_form_errors}}</th></tr>{%endif%}
- {{ form.management_form }}
- {% for formsetform in form.forms %}
+ {%if wizard.form.non_form_errors%}<tr class='error'><th colspan='2'>{{wizard.form.non_form_errors}}</th></tr>{%endif%}
+ {{ wizard.form.management_form }}
+ {% for formsetform in wizard.form.forms %}
{{ formsetform.as_table }}
{% endfor %}
<tr class='modify'><td colspan="2"><button name="formset_modify" value="{{form_step}}">{% trans "Add/Modify" %}</button></td></tr></li>
</table>
{% else %}
<table>
- {{ form.as_table }}
+ {{ wizard.form.as_table }}
</table>
{% endif %}
</div>