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