From 9936b4531d36c4ed1d4a401483b3fd9a5a1105a7 Mon Sep 17 00:00:00 2001 From: jacobtm Date: Tue, 4 Feb 2020 10:07:06 +0000 Subject: [PATCH] Change can_delete to can_disable --- wagtail/admin/templates/wagtailadmin/workflows/edit.html | 2 +- wagtail/admin/templates/wagtailadmin/workflows/edit_task.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wagtail/admin/templates/wagtailadmin/workflows/edit.html b/wagtail/admin/templates/wagtailadmin/workflows/edit.html index 069d3d3498..b55ad6c8fc 100644 --- a/wagtail/admin/templates/wagtailadmin/workflows/edit.html +++ b/wagtail/admin/templates/wagtailadmin/workflows/edit.html @@ -39,7 +39,7 @@ - {% if can_enable or can_delete %} + {% if can_enable or can_disable %}
{% csrf_token %} diff --git a/wagtail/admin/templates/wagtailadmin/workflows/edit_task.html b/wagtail/admin/templates/wagtailadmin/workflows/edit_task.html index 1b4391100a..8a5060efc2 100644 --- a/wagtail/admin/templates/wagtailadmin/workflows/edit_task.html +++ b/wagtail/admin/templates/wagtailadmin/workflows/edit_task.html @@ -43,7 +43,7 @@ {% endblock %}
- {% if can_enable or can_delete %} + {% if can_enable or can_disable %}
{% csrf_token %}