mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-21 05:21:54 +00:00
Also offer no delete option on documents
This commit is contained in:
parent
63d966819e
commit
9ec7f9194e
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
<form action="{% url 'wagtaildocs:delete' document.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value='{% trans "Yes, delete" %}' class="button serious" />
|
||||
<a href="{% url 'wagtaildocs:index' %}" class="button button-secondary">{% trans "No, don't delete" %}</a>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue