diff --git a/wagtail/admin/templates/wagtailadmin/pages/workflow_action_modal.html b/wagtail/admin/templates/wagtailadmin/pages/workflow_action_modal.html
index 161023e3b6..abb724f92a 100644
--- a/wagtail/admin/templates/wagtailadmin/pages/workflow_action_modal.html
+++ b/wagtail/admin/templates/wagtailadmin/pages/workflow_action_modal.html
@@ -1,4 +1,4 @@
-{% load i18n %}
+{% load i18n wagtailadmin_tags %}
{% include "wagtailadmin/shared/header.html" with title=action_verbose icon="clipboard-list" %}
@@ -6,7 +6,7 @@
{% csrf_token %}
{% include 'wagtailadmin/shared/form_as_ul.html' %}
-
+
-
\ No newline at end of file
+
diff --git a/wagtail/admin/templates/wagtailadmin/workflows/create.html b/wagtail/admin/templates/wagtailadmin/workflows/create.html
index 38b8da3da3..d18ecdb82e 100644
--- a/wagtail/admin/templates/wagtailadmin/workflows/create.html
+++ b/wagtail/admin/templates/wagtailadmin/workflows/create.html
@@ -52,7 +52,7 @@
{% block form_actions %}
{% endblock %}
diff --git a/wagtail/admin/templates/wagtailadmin/workflows/create_task.html b/wagtail/admin/templates/wagtailadmin/workflows/create_task.html
index 32def3eb00..9e6679d528 100644
--- a/wagtail/admin/templates/wagtailadmin/workflows/create_task.html
+++ b/wagtail/admin/templates/wagtailadmin/workflows/create_task.html
@@ -42,7 +42,7 @@
{% block form_actions %}
{% endblock %}
diff --git a/wagtail/admin/templates/wagtailadmin/workflows/edit.html b/wagtail/admin/templates/wagtailadmin/workflows/edit.html
index 9080841546..e0af8a8d1b 100644
--- a/wagtail/admin/templates/wagtailadmin/workflows/edit.html
+++ b/wagtail/admin/templates/wagtailadmin/workflows/edit.html
@@ -19,6 +19,8 @@
{{ edit_handler.html_declarations }}
{{ view.media.js }}
+
+ {% include "wagtailadmin/workflows/includes/_edit_js.html" %}
{% endblock %}
{% block content %}
@@ -78,8 +80,20 @@
{% block form_actions %}
{% endblock %}
@@ -87,20 +101,4 @@
{% endblock %}
-
- {% if can_enable or can_disable %}
-
- {% endif %}
{% endblock %}
diff --git a/wagtail/admin/templates/wagtailadmin/workflows/edit_task.html b/wagtail/admin/templates/wagtailadmin/workflows/edit_task.html
index 25f789cd52..8eaff47126 100644
--- a/wagtail/admin/templates/wagtailadmin/workflows/edit_task.html
+++ b/wagtail/admin/templates/wagtailadmin/workflows/edit_task.html
@@ -1,5 +1,5 @@
{% extends "wagtailadmin/base.html" %}
-{% load i18n %}
+{% load i18n wagtailadmin_tags %}
{% block titletag %}{{ view.page_title }}{% endblock %}
@@ -16,6 +16,8 @@
{{ edit_handler.html_declarations }}
{{ view.media.js }}
+
+ {% include "wagtailadmin/workflows/includes/_edit_js.html" %}
{% endblock %}
{% block content %}
@@ -52,8 +54,21 @@
{% block form_actions %}
{% endblock %}
@@ -61,19 +76,4 @@
{% endblock %}
- {% if can_enable or can_disable %}
-
- {% endif %}
{% endblock %}
diff --git a/wagtail/admin/templates/wagtailadmin/workflows/includes/_edit_js.html b/wagtail/admin/templates/wagtailadmin/workflows/includes/_edit_js.html
new file mode 100644
index 0000000000..1da1235383
--- /dev/null
+++ b/wagtail/admin/templates/wagtailadmin/workflows/includes/_edit_js.html
@@ -0,0 +1,25 @@
+