{% extends 'generic/object_list.html' %} {% load buttons %} {% load helpers %} {% load i18n %} {% comment %} Custom list template for Option Definitions. Overrides content block to add toggle button for hiding/showing standard options. Based on NetBox's dcim/device/interfaces.html pattern. {% endcomment %} {% block content %}
{% if filter_form %} {% applied_filters model filter_form request.GET %} {% endif %} {# Custom table controls with "Hide/Show Standard" dropdown #} {% include 'netbox_dhcp_kea_plugin/inc/optiondefinition_table_controls.html' with table_modal="ObjectTable_config" %}
{% csrf_token %}
{% include 'htmx/table.html' %}
{% block bulk_buttons %}
{% action_buttons actions model multi=True %}
{% endblock %}
{% if filter_form %}
{% include 'inc/filter_list.html' %}
{% endif %} {% endblock content %} {% block javascript %} {{ block.super }} {% endblock %}