correct format and translation

This commit is contained in:
mcalinghee
2025-04-10 15:10:47 +02:00
parent 2fe4752aa4
commit 4269bc3ce3
6 changed files with 17 additions and 24 deletions

View File

@@ -43,7 +43,7 @@ Please see LICENSE in the repository root for full details.
<input type="hidden" name="csrf" value="{{ csrf_token }}" />
{% if features.login_with_email_allowed %}
{% call(f) field.field(label=_("common.username_or_email"), name="username", form_state=form) %}
{% call(f) field.field(label=_("mas.login.username_or_email"), name="username", form_state=form) %}
<input {{ field.attributes(f) }} class="cpd-text-control" type="text" autocomplete="username" autocorrect="off" autocapitalize="off" required />
{% endcall %}
{% else %}