form_actions block on delete confirmation template
This commit is contained in:
parent
1d300c0b71
commit
81a4473c5b
|
@ -19,7 +19,9 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<form method="post" action=".">{% csrf_token %}
|
<form method="post" action=".">{% csrf_token %}
|
||||||
|
{% block form_actions %}
|
||||||
<button type="submit">{% trans 'Delete' %}</button>
|
<button type="submit">{% trans 'Delete' %}</button>
|
||||||
<a href="{{ cancel_url }}">{% trans 'Cancel' %}</a>
|
<a href="{{ cancel_url }}">{% trans 'Cancel' %}</a>
|
||||||
|
{% endblock %}
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue