{% extends 'base/layout.html' %} {% load buttons %} {% load helpers %} {% load render_table from django_tables2 %} {% load static %} {% load view_helpers %} {% block controls %}
{% if 'export' in action_buttons %} {% export_button content_type %} {% endif %}
{% endblock controls %} {% block tabs %} {% endblock tabs %} {% block content-wrapper %}
{# Object list #}
{# Applied filters #} {% if filter_form %} {% applied_filters filter_form request.GET %} {% endif %} {# Object table controls #} {% if '3.1.2'|check_version %} {% include 'inc/table_controls.html' with table_modal="ManagedRecordTable_config" %} {% else %} {% include 'inc/table_controls_htmx.html' with table_modal="ManagedRecordTable_config" %} {% endif %} {# Object table #}
{% render_table table 'inc/table.html' %}
{# Paginator #} {% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
{# Filter form #} {% if filter_form %}
{% include 'inc/filter_list.html' %}
{% endif %}
{# Table config form #} {% table_config_form table table_name="ManagedRecordTable" %} {% endblock content-wrapper %}