{# variation of admin/change_list_results.html #} {% load static i18n polymorphic_tree_admin_tags %}{% load url from future %}{% get_static_prefix as STATIC_URL %} {% if result_hidden_fields %}
{# DIV for HTML validation #} {% for item in result_hidden_fields %}{{ item }}{% endfor %}
{% endif %} {% if results %}
{# This is the Django 1.3 style for columns, so it works with both v1.3 and 1.4. #} {% for header in result_headers %} {% for result in results %} {% if result.form.non_field_errors %} {% endif %} {% for item in result %}{{ item }}{% endfor %} {% endfor %}
{{ header.text|capfirst }}
{% endfor %}
{{ result.form.non_field_errors }}
{% endif %} {% if not has_add_permission %}{% endif %}