0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Change can_delete to can_disable

This commit is contained in:
jacobtm 2020-02-04 10:07:06 +00:00 committed by Matt Westcott
parent 31e9572598
commit 9936b4531d
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@
</ul>
</div>
</form>
{% if can_enable or can_delete %}
{% if can_enable or can_disable %}
<div class="nice-padding">
<form action="{{ view.get_enable_url }}" method="POST" novalidate>
{% csrf_token %}

View File

@ -43,7 +43,7 @@
</footer>
{% endblock %}
</form>
{% if can_enable or can_delete %}
{% if can_enable or can_disable %}
<div class="nice-padding">
<form action="{{ view.get_enable_url }}" method="POST" novalidate>
{% csrf_token %}