diff --git a/netbox/templates/generic/object_list.html b/netbox/templates/generic/object_list.html index 1436958d7..f05cc3f4d 100644 --- a/netbox/templates/generic/object_list.html +++ b/netbox/templates/generic/object_list.html @@ -87,7 +87,7 @@ {% endif %} {# Object table controls #} - {% include 'inc/table_controls.html' with table_modal="ObjectTable_config" %} + {% include 'inc/table_controls_htmx.html' with table_modal="ObjectTable_config" %}
{% csrf_token %} diff --git a/netbox/templates/inc/table_controls_htmx.html b/netbox/templates/inc/table_controls_htmx.html new file mode 100644 index 000000000..ab8167bc0 --- /dev/null +++ b/netbox/templates/inc/table_controls_htmx.html @@ -0,0 +1,32 @@ +{% load helpers %} + +
+
+
+ +
+
+
+ {% if request.user.is_authenticated and table_modal %} +
+ +
+ {% endif %} +
+