Improve forms

This commit is contained in:
William Bouzourène 2025-01-15 16:35:33 +01:00
parent 8375504d60
commit 7d550ac23c
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
11 changed files with 83 additions and 14 deletions

View file

@ -44,6 +44,8 @@
name="name"
required
value="{{ User.Name }}"
autocomplete="off"
autofocus
>
</div>
</div>
@ -60,6 +62,7 @@
name="email"
required
value="{{ User.Email }}"
autocomplete="off"
>
</div>
</div>
@ -71,6 +74,7 @@
class="form-check-input me-2"
id="is_admin"
name="is_admin"
autocomplete="off"
{% if User.IsAdmin %}
checked
{% endif %}
@ -91,6 +95,7 @@
class="form-control"
type="password"
name="password"
autocomplete="off"
{% if !User.ID %}required{% endif %}
>
{% if User.ID %}
@ -109,6 +114,7 @@
class="form-check-input me-2"
id="reset_totp"
name="reset_totp"
autocomplete="off"
>
<label for="reset_totp" class="form-label">
Réinitialiser le double facteur (TOTP)