From 20a7ce591cd021108279d775bd6563542dd211fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 28 Feb 2023 21:37:08 +0800 Subject: [PATCH] Renamed the account_selector_modals block to form_modals in the transaction form templates. --- .../templates/accounting/transaction/expense/include/form.html | 2 +- .../templates/accounting/transaction/include/form.html | 2 +- .../templates/accounting/transaction/income/include/form.html | 2 +- .../templates/accounting/transaction/transfer/include/form.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/accounting/templates/accounting/transaction/expense/include/form.html b/src/accounting/templates/accounting/transaction/expense/include/form.html index da106f3..42bcac4 100644 --- a/src/accounting/templates/accounting/transaction/expense/include/form.html +++ b/src/accounting/templates/accounting/transaction/expense/include/form.html @@ -45,7 +45,7 @@ First written: 2023/2/25 {% endif %} {% endblock %} -{% block account_selector_modals %} +{% block form_modals %} {% with summary_helper = form.summary_helper.debit %} {% include "accounting/transaction/include/summary-helper-modal.html" %} {% endwith %} diff --git a/src/accounting/templates/accounting/transaction/include/form.html b/src/accounting/templates/accounting/transaction/include/form.html index d89a091..2ff482c 100644 --- a/src/accounting/templates/accounting/transaction/include/form.html +++ b/src/accounting/templates/accounting/transaction/include/form.html @@ -86,6 +86,6 @@ First written: 2023/2/26 {% include "accounting/transaction/include/entry-form-modal.html" %} -{% block account_selector_modals %}{% endblock %} +{% block form_modals %}{% endblock %} {% endblock %} diff --git a/src/accounting/templates/accounting/transaction/income/include/form.html b/src/accounting/templates/accounting/transaction/income/include/form.html index 73a9bdc..0e1b36d 100644 --- a/src/accounting/templates/accounting/transaction/income/include/form.html +++ b/src/accounting/templates/accounting/transaction/income/include/form.html @@ -45,7 +45,7 @@ First written: 2023/2/25 {% endif %} {% endblock %} -{% block account_selector_modals %} +{% block form_modals %} {% with summary_helper = form.summary_helper.credit %} {% include "accounting/transaction/include/summary-helper-modal.html" %} {% endwith %} diff --git a/src/accounting/templates/accounting/transaction/transfer/include/form.html b/src/accounting/templates/accounting/transaction/transfer/include/form.html index fad2b00..70bcdab 100644 --- a/src/accounting/templates/accounting/transaction/transfer/include/form.html +++ b/src/accounting/templates/accounting/transaction/transfer/include/form.html @@ -49,7 +49,7 @@ First written: 2023/2/25 {% endif %} {% endblock %} -{% block account_selector_modals %} +{% block form_modals %} {% with summary_helper = form.summary_helper.debit %} {% include "accounting/transaction/include/summary-helper-modal.html" %} {% endwith %}