diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee4b7fa799..d2f83c5c93 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,7 +49,7 @@ repos: - id: pretty-format-toml args: [--autofix] - repo: https://github.com/djlint/djLint - rev: v1.40.8 + rev: v1.43.0 hooks: - id: djlint-reformat-django - id: djlint-django diff --git a/weblate_web/templates/payment/customer.html b/weblate_web/templates/payment/customer.html index d573185108..913f608c00 100644 --- a/weblate_web/templates/payment/customer.html +++ b/weblate_web/templates/payment/customer.html @@ -19,21 +19,21 @@

{% translate "Your billing information" %}

{% if form.is_fosdem and field.name == "vat" %}
Need a proper invoice? Click here to fill in the billing details. - {% endif %} -
-
{{ field.label }}
-
- {{ field.errors }} - {{ field }} - {% if field.help_text %} -

{{ field.help_text|safe }}

- {% endif %} -
-
+ {% endif %} +
+
{{ field.label }}
+
+ {{ field.errors }} + {{ field }} + {% if field.help_text %} +

{{ field.help_text|safe }}

+ {% endif %}
- {% if form.is_fosdem and field.name == "email" %} +
+
+ {% if form.is_fosdem and field.name == "email" %}
- {% endif %} + {% endif %} {% else %} {{ field.errors }} {{ field }}