diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html
index ee5d73b1e..2d7bdbdf7 100644
--- a/netbox/templates/extras/script_list.html
+++ b/netbox/templates/extras/script_list.html
@@ -28,14 +28,12 @@
{% if perms.extras.edit_scriptmodule %}
-
- {% trans "Edit" %}
-
+ {% url 'extras:scriptmodule_edit' pk=module.pk as edit_url %}
+ {% include 'buttons/edit.html' with url=edit_url %}
{% endif %}
{% if perms.extras.delete_scriptmodule %}
-
- {% trans "Delete" %}
-
+ {% url 'extras:scriptmodule_delete' pk=module.pk as delete_url %}
+ {% include 'buttons/delete.html' with url=delete_url %}
{% endif %}