diff --git a/netbox/dcim/tables/template_code.py b/netbox/dcim/tables/template_code.py
index ac8ecca76..604174701 100644
--- a/netbox/dcim/tables/template_code.py
+++ b/netbox/dcim/tables/template_code.py
@@ -80,6 +80,7 @@ UTILIZATION_GRAPH = """
CONSOLEPORT_BUTTONS = """
{% if record.cable %}
+
{% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %}
{% elif perms.dcim.add_cable %}
@@ -97,6 +98,7 @@ CONSOLEPORT_BUTTONS = """
CONSOLESERVERPORT_BUTTONS = """
{% if record.cable %}
+
{% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %}
{% elif perms.dcim.add_cable %}
@@ -114,6 +116,7 @@ CONSOLESERVERPORT_BUTTONS = """
POWERPORT_BUTTONS = """
{% if record.cable %}
+
{% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %}
{% elif perms.dcim.add_cable %}
@@ -130,6 +133,7 @@ POWERPORT_BUTTONS = """
POWEROUTLET_BUTTONS = """
{% if record.cable %}
+
{% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %}
{% elif perms.dcim.add_cable %}
@@ -144,27 +148,27 @@ INTERFACE_BUTTONS = """
{% endif %}
-{% if perms.dcim.change_interface %}
- {% if record.cable %}
- {% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %}
- {% elif record.is_connectable and perms.dcim.add_cable %}
-
-
-
-
- {% endif %}
+{% if record.cable %}
+
+ {% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %}
+{% elif record.is_connectable and perms.dcim.add_cable %}
+
+
+
+
{% endif %}
"""
FRONTPORT_BUTTONS = """
-{% if frontport.cable %}
+{% if record.cable %}
+
{% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %}
{% elif perms.dcim.add_cable %}
@@ -185,6 +189,7 @@ FRONTPORT_BUTTONS = """
REARPORT_BUTTONS = """
{% if record.cable %}
+
{% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %}
{% elif perms.dcim.add_cable %}