diff --git a/netbox/templates/htmx/table.html b/netbox/templates/htmx/table.html index f93c86a34..ae480a1cf 100644 --- a/netbox/templates/htmx/table.html +++ b/netbox/templates/htmx/table.html @@ -1,5 +1,6 @@ {# Render an HTMX-enabled table with paginator #} {% load helpers %} +{% load buttons %} {% load render_table from django_tables2 %}
@@ -16,3 +17,14 @@ {# Include the updated object count for display elsewhere on the page #}
{{ table.rows|length }}
+{% if 'bulk_edit' in actions %} +
+ {% bulk_edit_button model query_params=request.GET %} +
+{% endif %} +{% if 'bulk_delete' in actions %} +
+ {% bulk_delete_button model query_params=request.GET %} +
+{% endif %} +