diff --git a/src/accounting/templates/accounting/account/include/form.html b/src/accounting/templates/accounting/account/include/form.html
index eb6de4d..e6de812 100644
--- a/src/accounting/templates/accounting/account/include/form.html
+++ b/src/accounting/templates/accounting/account/include/form.html
@@ -54,13 +54,13 @@ First written: 2023/2/1
{% endif %}
-
{% if form.base_code.errors %}{{ form.base_code.errors[0] }}{% endif %}
+ {% if form.base_code.errors %}{{ form.base_code.errors[0] }}{% endif %}
@@ -171,13 +171,13 @@ First written: 2023/2/28
diff --git a/src/accounting/templates/accounting/journal-entry/include/form-currency.html b/src/accounting/templates/accounting/journal-entry/include/form-currency.html
index 12ae5d7..121a904 100644
--- a/src/accounting/templates/accounting/journal-entry/include/form-currency.html
+++ b/src/accounting/templates/accounting/journal-entry/include/form-currency.html
@@ -31,7 +31,7 @@ First written: 2023/3/21
{% endfor %}
- {% if currency_code_errors %}{{ currency_code_errors[0] }}{% endif %}
+ {% if currency_code_errors %}{{ currency_code_errors[0] }}{% endif %}
@@ -43,5 +43,5 @@ First written: 2023/3/21
{% block line_items %}{% endblock %}
- {% if currency_errors %}{{ currency_errors[0] }}{% endif %}
+ {% if currency_errors %}{{ currency_errors[0] }}{% endif %}
diff --git a/src/accounting/templates/accounting/journal-entry/include/form-debit-credit.html b/src/accounting/templates/accounting/journal-entry/include/form-debit-credit.html
index 11e8332..b60f6c8 100644
--- a/src/accounting/templates/accounting/journal-entry/include/form-debit-credit.html
+++ b/src/accounting/templates/accounting/journal-entry/include/form-debit-credit.html
@@ -36,7 +36,7 @@ First written: 2023/3/21
{{ A_("Total") }}
-
{{ debit_credit_total }}
+
{{ debit_credit_total }}
@@ -47,5 +47,5 @@ First written: 2023/3/21
- {% if debit_credit_errors %}{{ debit_credit_errors[0] }}{% endif %}
+ {% if debit_credit_errors %}{{ debit_credit_errors[0] }}{% endif %}
diff --git a/src/accounting/templates/accounting/journal-entry/include/form-line-item.html b/src/accounting/templates/accounting/journal-entry/include/form-line-item.html
index 4621fa0..fe1dc26 100644
--- a/src/accounting/templates/accounting/journal-entry/include/form-line-item.html
+++ b/src/accounting/templates/accounting/journal-entry/include/form-line-item.html
@@ -65,7 +65,7 @@ First written: 2023/2/25
{{ form.amount.data|accounting_format_amount }}
- {% if form.all_errors %}{{ form.all_errors[0] }}{% endif %}
+ {% if form.all_errors %}{{ form.all_errors[0] }}{% endif %}
diff --git a/src/accounting/templates/accounting/journal-entry/include/form.html b/src/accounting/templates/accounting/journal-entry/include/form.html
index 1b4422c..fca9244 100644
--- a/src/accounting/templates/accounting/journal-entry/include/form.html
+++ b/src/accounting/templates/accounting/journal-entry/include/form.html
@@ -50,7 +50,7 @@ First written: 2023/2/26
@@ -67,13 +67,13 @@ First written: 2023/2/26
- {% if form.currencies_errors %}{{ form.currencies_errors[0] }}{% endif %}
+ {% if form.currencies_errors %}{{ form.currencies_errors[0] }}{% endif %}
diff --git a/src/accounting/templates/accounting/journal-entry/include/journal-entry-line-item-editor-modal.html b/src/accounting/templates/accounting/journal-entry/include/journal-entry-line-item-editor-modal.html
index d64f366..069437c 100644
--- a/src/accounting/templates/accounting/journal-entry/include/journal-entry-line-item-editor-modal.html
+++ b/src/accounting/templates/accounting/journal-entry/include/journal-entry-line-item-editor-modal.html
@@ -35,7 +35,7 @@ First written: 2023/2/25
{{ A_("Original Line Item") }}
-
+
@@ -50,7 +50,7 @@ First written: 2023/2/25
{{ A_("Description") }}
-
+
@@ -58,13 +58,13 @@ First written: 2023/2/25
{{ A_("Account") }}
-
+
diff --git a/src/accounting/templates/accounting/option/form.html b/src/accounting/templates/accounting/option/form.html
index 1e4e650..45b078c 100644
--- a/src/accounting/templates/accounting/option/form.html
+++ b/src/accounting/templates/accounting/option/form.html
@@ -50,7 +50,7 @@ First written: 2023/3/22
{% endfor %}
- {% if form.default_currency_code.errors %}{{ form.default_currency_code.errors[0] }}{% endif %}
+ {% if form.default_currency_code.errors %}{{ form.default_currency_code.errors[0] }}{% endif %}
{% with expense_income = "expense",
diff --git a/src/accounting/templates/accounting/option/include/form-recurring-item.html b/src/accounting/templates/accounting/option/include/form-recurring-item.html
index b4c567c..47e0bcc 100644
--- a/src/accounting/templates/accounting/option/include/form-recurring-item.html
+++ b/src/accounting/templates/accounting/option/include/form-recurring-item.html
@@ -32,7 +32,7 @@ First written: 2023/3/22
{{ form.name.data|accounting_default }}
{{ form.description_template.data|accounting_default }}
- {% if form.all_errors %}{{ form.all_errors[0] }}{% endif %}
+ {% if form.all_errors %}{{ form.all_errors[0] }}{% endif %}
diff --git a/src/accounting/templates/accounting/option/include/recurring-account-selector-modal.html b/src/accounting/templates/accounting/option/include/recurring-account-selector-modal.html
index f6d5855..c5da0f7 100644
--- a/src/accounting/templates/accounting/option/include/recurring-account-selector-modal.html
+++ b/src/accounting/templates/accounting/option/include/recurring-account-selector-modal.html
@@ -42,7 +42,7 @@ First written: 2023/3/22
{% endfor %}
-
{{ A_("There is no data.") }}
+
{{ A_("There is no data.") }}