Improve forms
This commit is contained in:
parent
8226329b61
commit
6f3b7c6dc3
11 changed files with 83 additions and 14 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue