Renamed the account_selector_modals block to form_modals in the transaction form templates.

This commit is contained in:
依瑪貓 2023-02-28 21:37:08 +08:00
parent 474e844ed9
commit 20a7ce591c
4 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ First written: 2023/2/25
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block account_selector_modals %} {% block form_modals %}
{% with summary_helper = form.summary_helper.debit %} {% with summary_helper = form.summary_helper.debit %}
{% include "accounting/transaction/include/summary-helper-modal.html" %} {% include "accounting/transaction/include/summary-helper-modal.html" %}
{% endwith %} {% endwith %}

View File

@ -86,6 +86,6 @@ First written: 2023/2/26
</form> </form>
{% include "accounting/transaction/include/entry-form-modal.html" %} {% include "accounting/transaction/include/entry-form-modal.html" %}
{% block account_selector_modals %}{% endblock %} {% block form_modals %}{% endblock %}
{% endblock %} {% endblock %}

View File

@ -45,7 +45,7 @@ First written: 2023/2/25
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block account_selector_modals %} {% block form_modals %}
{% with summary_helper = form.summary_helper.credit %} {% with summary_helper = form.summary_helper.credit %}
{% include "accounting/transaction/include/summary-helper-modal.html" %} {% include "accounting/transaction/include/summary-helper-modal.html" %}
{% endwith %} {% endwith %}

View File

@ -49,7 +49,7 @@ First written: 2023/2/25
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block account_selector_modals %} {% block form_modals %}
{% with summary_helper = form.summary_helper.debit %} {% with summary_helper = form.summary_helper.debit %}
{% include "accounting/transaction/include/summary-helper-modal.html" %} {% include "accounting/transaction/include/summary-helper-modal.html" %}
{% endwith %} {% endwith %}