{% extends 'netbox_dns/zone/base.html' %} {% load helpers %} {% load render_table from django_tables2 %} {% load perms %} {% block content %} {% include 'inc/table_controls_htmx.html' with table_modal="RecordTable_config" %}
{% csrf_token %}
{% include 'htmx/table.html' %}
{% if perms.netbox_dns.change_record or perms.netbox_dns.delete_record %} {% with bulk_edit_url="plugins:netbox_dns:record_bulk_edit" bulk_delete_url="plugins:netbox_dns:record_bulk_delete" %}
{% block bulk_buttons %}{% endblock %} {% if bulk_edit_url and perms.netbox_dns.change_record %} {% endif %} {% if bulk_delete_url and perms.netbox_dns.delete_record %} {% endif %}
{% endwith %} {% endif %}
{% endblock %} {% block modals %} {{ block.super }} {% table_config_form table %} {% endblock modals %}