- {% plugin_list_buttons model %}
- {% block extra_controls %}{% endblock %}
- {% if 'add' in actions %}
- {% add_button model %}
- {% endif %}
- {% if 'import' in actions %}
- {% import_button model %}
- {% endif %}
- {% if 'export' in actions %}
- {% export_button model %}
- {% endif %}
-
+
+ {% plugin_list_buttons model %}
+ {% block extra_controls %}{% endblock %}
+ {% if 'add' in actions %}
+ {% add_button model %}
+ {% endif %}
+ {% if 'import' in actions %}
+ {% import_button model %}
+ {% endif %}
+ {% if 'export' in actions %}
+ {% export_button model %}
+ {% endif %}
{% endblock controls %}
{% block tabs %}
-
+
-
+
{% if filter_form %}
@@ -77,7 +75,7 @@ Context:
{% csrf_token %}
{# "Select all" form #}
{% if table.paginator.num_pages > 1 %}
-
+
@@ -112,13 +110,13 @@ Context:
{% endif %}
-
+
{% include 'htmx/table.html' %}
{# Form buttons #}
-
+
{% block bulk_buttons %}
{% if 'bulk_edit' in actions %}
diff --git a/netbox/templates/inc/table_controls_htmx.html b/netbox/templates/inc/table_controls_htmx.html
index e7fd0e7a6..5b6c4745c 100644
--- a/netbox/templates/inc/table_controls_htmx.html
+++ b/netbox/templates/inc/table_controls_htmx.html
@@ -3,7 +3,7 @@
-
+
@@ -12,9 +12,9 @@
{% if request.user.is_authenticated and table_modal %}
-
+
diff --git a/netbox/utilities/templates/builtins/badge.html b/netbox/utilities/templates/builtins/badge.html
index d12c6108e..78e7b3232 100644
--- a/netbox/utilities/templates/builtins/badge.html
+++ b/netbox/utilities/templates/builtins/badge.html
@@ -1 +1 @@
-{% if value or show_empty %}{{ value }}{% endif %}
+{% if value or show_empty %}{{ value }}{% endif %}