+
diff --git a/netbox/templates/extras/objectchange.html b/netbox/templates/extras/objectchange.html
index 3a9c04cdc..ab8b772eb 100644
--- a/netbox/templates/extras/objectchange.html
+++ b/netbox/templates/extras/objectchange.html
@@ -18,7 +18,7 @@
{% endblock %}
{# ObjectChange does not support the default add/edit/delete controls #}
-{% block controls %}{% endblock %}
+{% block control-buttons %}{% endblock %}
{% block subtitle %}{% endblock %}
{% block content %}
diff --git a/netbox/templates/extras/report_list.html b/netbox/templates/extras/report_list.html
index e770f4faa..698b50ced 100644
--- a/netbox/templates/extras/report_list.html
+++ b/netbox/templates/extras/report_list.html
@@ -15,12 +15,7 @@
{% endblock tabs %}
{% block controls %}
-
-
- {% block extra_controls %}{% endblock %}
- {% add_button model %}
-
-
+ {% add_button model %}
{% endblock controls %}
{% block content %}
diff --git a/netbox/templates/extras/report_result.html b/netbox/templates/extras/report_result.html
index 348f8a55b..1db567364 100644
--- a/netbox/templates/extras/report_result.html
+++ b/netbox/templates/extras/report_result.html
@@ -2,20 +2,16 @@
{% load buttons %}
{% load perms %}
+{% block controls %}
+ {% if request.user|can_delete:job %}
+ {% delete_button job %}
+ {% endif %}
+{% endblock controls %}
+
{% block content %}
{% include 'extras/htmx/report_result.html' %}
-{% endblock content %}
-
-{% block controls %}
-
-
- {% if request.user|can_delete:job %}
- {% delete_button job %}
- {% endif %}
-
-
-{% endblock controls %}
\ No newline at end of file
+{% endblock content %}
\ No newline at end of file
diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html
index 3c609f407..e2035a304 100644
--- a/netbox/templates/extras/script_list.html
+++ b/netbox/templates/extras/script_list.html
@@ -6,12 +6,7 @@
{% block title %}{% trans "Scripts" %}{% endblock %}
{% block controls %}
-
-
- {% block extra_controls %}{% endblock %}
- {% add_button model %}
-
-
+ {% add_button model %}
{% endblock controls %}
{% block tabs %}
diff --git a/netbox/templates/extras/script_result.html b/netbox/templates/extras/script_result.html
index 24dba95b6..6a471a400 100644
--- a/netbox/templates/extras/script_result.html
+++ b/netbox/templates/extras/script_result.html
@@ -27,13 +27,9 @@
{% endblock header %}
{% block controls %}
-
-
- {% if request.user|can_delete:job %}
- {% delete_button job %}
- {% endif %}
-
-
+ {% if request.user|can_delete:job %}
+ {% delete_button job %}
+ {% endif %}
{% endblock controls %}
{% block tabs %}
diff --git a/netbox/templates/generic/_base.html b/netbox/templates/generic/_base.html
index d835e729d..eaab642e9 100644
--- a/netbox/templates/generic/_base.html
+++ b/netbox/templates/generic/_base.html
@@ -16,7 +16,11 @@
{# Controls #}
- {% block controls %}{% endblock controls %}
+ {% block controls %}
+
+ {% block control-buttons %}{% endblock %}
+
+ {% endblock controls %}
diff --git a/netbox/templates/generic/object.html b/netbox/templates/generic/object.html
index ff033e4f5..9220d1365 100644
--- a/netbox/templates/generic/object.html
+++ b/netbox/templates/generic/object.html
@@ -57,13 +57,16 @@ Context:
{% endblock subtitle %}
{% block controls %}
- {# Clone/Edit/Delete Buttons #}
-
- {% plugin_buttons object %}
+
+ {% plugin_buttons object %}
+
+ {# Add/edit/delete/etc. buttons #}
+ {% block control-buttons %}
{# Extra buttons #}
{% block extra_controls %}{% endblock %}
+ {# Default buttons #}
{% if perms.extras.add_bookmark and object.bookmarks %}
{% bookmark_button object %}
{% endif %}
@@ -76,8 +79,16 @@ Context:
{% if request.user|can_delete:object %}
{% delete_button object %}
{% endif %}
+ {% endblock control-buttons %}
+
- {% custom_links object %}
+ {# Custom links #}
+
+
+ {% block custom-links %}
+ {% custom_links object %}
+ {% endblock custom-links %}
+
{% endblock controls %}