[feature/frontend] add autocomplete + other helpful attributes to auth html pages (#4029)

* [feature/frontend] add autocomplete + other helpful attributes to auth html pages

* add autocorrect="off"
This commit is contained in:
tobi 2025-04-20 17:46:25 +02:00 committed by GitHub
commit a87be80c90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 7 deletions

View file

@ -24,11 +24,26 @@
<form action="/auth/sign_in" method="POST">
<div class="labelinput">
<label for="email">Email</label>
<input type="email" name="username" required placeholder="Please enter your email address">
<input
type="email"
name="username"
id="username"
autocomplete="username"
required
autofocus
placeholder="Please enter your email address"
>
</div>
<div class="labelinput">
<label for="password">Password</label>
<input type="password" name="password" required placeholder="Please enter your password">
<input
type="password"
name="password"
id="password"
autocomplete="current-password"
required
placeholder="Please enter your password"
>
</div>
<button type="submit" class="btn btn-success">Sign in</button>
</form>