diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index 62b54f361..c84bdf9a3 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -573,7 +573,7 @@ {% endif %} {% if cs_ports or device.device_type.is_console_server %} {% if perms.dcim.delete_consoleserverport %} -
+ {% csrf_token %} {% endif %}
@@ -606,12 +606,12 @@ - {% endif %} {% if cs_ports and perms.dcim.delete_consoleserverport %} - {% endif %} @@ -631,7 +631,7 @@ {% endif %} {% if power_outlets or device.device_type.is_pdu %} {% if perms.dcim.delete_poweroutlet %} - + {% csrf_token %} {% endif %}
@@ -664,12 +664,12 @@ - {% endif %} {% if power_outlets and perms.dcim.delete_poweroutlet %} - {% endif %}