diff options
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'>» <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> |
