From 3f4e3f5f84036b2dff40a04d9257aea71421edfc Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Tue, 20 Jul 2021 14:36:10 -0400 Subject: [PATCH] Fix device type buttons --- netbox/templates/dcim/devicetype.html | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/netbox/templates/dcim/devicetype.html b/netbox/templates/dcim/devicetype.html index 532dad86c..ff4998bc6 100644 --- a/netbox/templates/dcim/devicetype.html +++ b/netbox/templates/dcim/devicetype.html @@ -10,7 +10,7 @@ {% endblock %} -{% block controls %} +{% block extra_controls %} {% if perms.dcim.change_devicetype %} {% endif %} - {% if perms.dcim.add_devicetype %} - {% clone_button object %} - {% endif %} - {% if perms.dcim.change_devicetype %} - {% edit_button object %} - {% endif %} - {% if perms.dcim.delete_devicetype %} - {% delete_button object %} - {% endif %} {% endblock %} {% block content %}