Fixed the title of the account form in the accounting application.
This commit is contained in:
parent
4266e43388
commit
0ea535d31d
@ -26,7 +26,11 @@ First written: 2020/8/8
|
|||||||
{% load accounting %}
|
{% load accounting %}
|
||||||
|
|
||||||
{% block settings %}
|
{% block settings %}
|
||||||
{% setvar "title" account %}
|
{% if form.account %}
|
||||||
|
{% setvar "title" form.account %}
|
||||||
|
{% else %}
|
||||||
|
{% setvar "title" _("Add a New Account") %}
|
||||||
|
{% endif %}
|
||||||
{% static "accounting/js/account-form.js" as file %}{% add_js file %}
|
{% static "accounting/js/account-form.js" as file %}{% add_js file %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user