diff options
Diffstat (limited to 'ishtar/templates/search.html')
| -rw-r--r-- | ishtar/templates/search.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ishtar/templates/search.html b/ishtar/templates/search.html new file mode 100644 index 000000000..5787cb2c6 --- /dev/null +++ b/ishtar/templates/search.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} +{% load i18n %} +{% load range %} +{% block extra_head %} +{{form.media}} +{% endblock %} +{% block content %} +<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 %} |
