From c2756f15fc21f5d77735f4eca4b8323dc7516697 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 25 Feb 2019 16:40:46 +0100 Subject: [PATCH] Correctly display action on Create/Update templates --- passbook/admin/templates/generic/create.html | 6 +++++- passbook/admin/templates/generic/form.html | 2 +- passbook/admin/templates/generic/update.html | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/passbook/admin/templates/generic/create.html b/passbook/admin/templates/generic/create.html index 73c2cb9bc..f21f2f4ff 100644 --- a/passbook/admin/templates/generic/create.html +++ b/passbook/admin/templates/generic/create.html @@ -4,4 +4,8 @@ {% block above_form %}

{% trans 'Create' %}

-{% endblock %} \ No newline at end of file +{% endblock %} + +{% block action %} +{% trans 'Create' %} +{% endblock %} diff --git a/passbook/admin/templates/generic/form.html b/passbook/admin/templates/generic/form.html index 630a91df2..40a2b7568 100644 --- a/passbook/admin/templates/generic/form.html +++ b/passbook/admin/templates/generic/form.html @@ -11,7 +11,7 @@
{% include 'partials/form.html' with form=form %} {% trans "Cancel" %} - +
diff --git a/passbook/admin/templates/generic/update.html b/passbook/admin/templates/generic/update.html index 86050dd3e..019c1153d 100644 --- a/passbook/admin/templates/generic/update.html +++ b/passbook/admin/templates/generic/update.html @@ -4,4 +4,8 @@ {% block above_form %}

{% trans 'Update' %}

-{% endblock %} \ No newline at end of file +{% endblock %} + +{% block action %} +{% trans 'Update' %} +{% endblock %}