diff options
Diffstat (limited to 'ishtar_common/templates/search.html')
-rw-r--r-- | ishtar_common/templates/search.html | 28 |
1 files changed, 28 insertions, 0 deletions
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 %} +<ul id='form_path'> + <li class='current'>» <a href='#'>{{form.form_label}}</a></li> +</ul> +<div class='form'> +{% if 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 %} + {{ 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 }} +</table> +{% endif %} +</div> +{% endblock %} |