diff --git a/netbox/templates/dcim/inc/devicetype_buttons.html b/netbox/templates/dcim/inc/devicetype_buttons.html deleted file mode 100644 index 3ca8a45bb..000000000 --- a/netbox/templates/dcim/inc/devicetype_buttons.html +++ /dev/null @@ -1,44 +0,0 @@ -{% load buttons %} -{% load helpers %} -{% load i18n %} - - -{% if perms.dcim.change_devicetype %} - -{% endif %} diff --git a/netbox/templates/dcim/moduletype.html b/netbox/templates/dcim/moduletype.html index 4e4feaf7e..f57c501cf 100644 --- a/netbox/templates/dcim/moduletype.html +++ b/netbox/templates/dcim/moduletype.html @@ -12,7 +12,7 @@ {% endblock %} {% block extra_controls %} - {% include 'dcim/inc/devicetype_buttons.html' %} + {% include 'dcim/inc/moduletype_buttons.html' %} {% endblock %} {% block content %} diff --git a/netbox/templates/dcim/moduletype/component_templates.html b/netbox/templates/dcim/moduletype/component_templates.html index 32b8da41b..8f4c24478 100644 --- a/netbox/templates/dcim/moduletype/component_templates.html +++ b/netbox/templates/dcim/moduletype/component_templates.html @@ -11,7 +11,7 @@ {% endblock %} {% block extra_controls %} - {% include 'dcim/inc/devicetype_buttons.html' %} + {% include 'dcim/inc/moduletype_buttons.html' %} {% endblock %} {% block bulk_edit_controls %}