Skip to content

Commit

Permalink
Use type=email for email input (#400)
Browse files Browse the repository at this point in the history
So that mobile devices with software keyboards use the email keyboard
and turn off autocorrect/autocapitalization
  • Loading branch information
shadowfacts authored Feb 16, 2022
1 parent 09d6478 commit e55382a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/template/sign-in.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit e55382a

Please sign in to comment.