diff --git a/netbox/dcim/tables.py b/netbox/dcim/tables.py
index 2d8195f85..e0948063f 100644
--- a/netbox/dcim/tables.py
+++ b/netbox/dcim/tables.py
@@ -61,7 +61,7 @@ RACKRESERVATION_ACTIONS = """
{% if perms.dcim.change_rackreservation %}
-
+
{% endif %}
"""
@@ -70,7 +70,7 @@ MANUFACTURER_ACTIONS = """
{% if perms.dcim.change_manufacturer %}
-
+
{% endif %}
"""
@@ -87,7 +87,7 @@ DEVICEROLE_ACTIONS = """
{% if perms.dcim.change_devicerole %}
-
+
{% endif %}
"""
diff --git a/netbox/dcim/tables/template_code.py b/netbox/dcim/tables/template_code.py
index d0a316a3f..a59a92ab6 100644
--- a/netbox/dcim/tables/template_code.py
+++ b/netbox/dcim/tables/template_code.py
@@ -95,7 +95,7 @@ CONSOLEPORT_BUTTONS = """
{% elif perms.dcim.add_cable %}