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:
parent
31e9572598
commit
9936b4531d
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user