diff --git a/netbox/templates/dcim/device_component_add.html b/netbox/templates/dcim/device_component_add.html index 6287330f6..8fb78e4ff 100644 --- a/netbox/templates/dcim/device_component_add.html +++ b/netbox/templates/dcim/device_component_add.html @@ -20,7 +20,7 @@
{% block buttons %} Cancel - {% if perms.ipam.add_ipaddress %} + {% if component_type == 'interface' and perms.ipam.add_ipaddress %}