Use type=email for email input (#400)

So that mobile devices with software keyboards use the email keyboard
and turn off autocorrect/autocapitalization
This commit is contained in:
Shadowfacts 2022-02-16 10:16:47 -05:00 committed by GitHub
parent 09d6478d72
commit e55382acd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<h1>Login</h1>
<form action="/auth/sign_in" method="POST">
<label for="email">Email</label>
<input type="text" class="form-control" name="username" required placeholder="Please enter your email address">
<input type="email" class="form-control" name="username" required placeholder="Please enter your email address">
<label for="password">Password</label>
<input type="password" class="form-control" name="password" required placeholder="Please enter your password">