{% load i18n %} {% with table.needs_form_wrapper as needs_form_wrapper %}
{% if needs_form_wrapper %}
{% csrf_token %}{% endif %} {% with columns=table.get_columns rows=table.get_rows %} {% block table %} {% block table_caption %} {% endblock table_caption %} {% block table_breadcrumb %} {% if table.breadcrumb %} {% endif %} {% endblock table_breadcrumb %} {% block table_columns %} {% if not table.is_browser_table %} {% for column in columns %} {% endfor %} {% endif %} {% endblock table_columns %} {% block table_body %} {% for row in rows %} {{ row.render }} {% empty %} {% endfor %} {% endblock table_body %} {% block table_footer %} {% if table.footer and rows %} {% if table.needs_summary_row %} {% for column in columns %} {% if forloop.first %} {% else %} {% endif %} {% endfor %} {% endif %} {% endif %} {% endblock table_footer %}
{% if not hidden_title %} {{ table }} {% endif %} {{ table.render_table_actions }}
{{ column }} {% if column.help_text %} {% endif %}
{{ table.get_empty_message }}
{% trans "Summary" %}{{ column.get_summation|default_if_none:"–"}}
{% blocktrans count counter=rows|length %}Displaying {{ counter }} item{% plural %}Displaying {{ counter }} items{% endblocktrans %} {% if table.has_prev_data or table.has_more_data %} | {% endif %} {% if table.has_prev_data %} {% trans "« Prev" %} {% endif %} {% if table.has_more_data %} {% trans "Next »" %} {% endif %}
{% endblock table %} {% endwith %} {% if needs_form_wrapper %}
{% endif %}
{% endwith %}