diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html index b7c2509ed..f54238682 100644 --- a/netbox/templates/extras/script_list.html +++ b/netbox/templates/extras/script_list.html @@ -26,11 +26,18 @@
{{ module }}
- {% if perms.extras.delete_scriptmodule %} - - {% trans "Delete" %} - - {% endif %} +
+ {% if perms.extras.edit_scriptmodule %} + + {% trans "Edit" %} + + {% endif %} + {% if perms.extras.delete_scriptmodule %} + + {% trans "Delete" %} + + {% endif %} +
{% if module.scripts %}