{% load buttons %} {% load i18n %} {% load helpers %} {% load static %}
{% with bulk_edit_url=content_type.model_class|validated_viewname:"bulk_edit" bulk_delete_url=content_type.model_class|validated_viewname:"bulk_delete" %} {% if permissions.change or permissions.delete %}
{% csrf_token %} {% if table.paginator.num_pages > 1 %}
{% endif %} {% include table_template|default:'panel_table.html' %}
{% else %} {% include table_template|default:'panel_table.html' %} {% endif %} {% endwith %} {% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}