diff --git a/netbox/dcim/tables/template_code.py b/netbox/dcim/tables/template_code.py
index 0869530ab..348ea68ca 100644
--- a/netbox/dcim/tables/template_code.py
+++ b/netbox/dcim/tables/template_code.py
@@ -110,18 +110,32 @@ CONSOLEPORT_BUTTONS = """
{% endif %}
{% if record.cable %}
-
{% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %}
{% if perms.dcim.delete_cable %}
-
-
-
-
-
-
+
+
+
+
{% endif %}
{% elif perms.dcim.add_cable %}
-