{% extends base_template %} {% load i18n custom_object_buttons perms helpers %} {% block content %}
{# --- header with search form (never swapped by HTMX) --- #}

{% trans "Custom Objects" %}

{% if q or type_slug or tag_slug %} {% endif %}
{# Type dropdown — only shown when there are 2+ types #} {% if available_types|length > 1 %} {% endif %} {# Tag dropdown — only shown when any object has tags #} {% if available_tags %} {% endif %} {# Preserve sort state and per_page when submitting the search form #} {% if sort %}{% endif %} {% if sort_dir and sort_dir != 'asc' %}{% endif %} {% if request.GET.per_page %}{% endif %}
{% if request.user.is_authenticated %} {% endif %}
{# --- table zone (swapped by HTMX) --- #} {% include 'netbox_custom_objects_tab/combined/tab_partial.html' %}
{% block modals %} {{ block.super }} {% table_config_form tab_table %} {% endblock modals %} {% endblock content %}