Auth: use labels instead of placeholders

pull/1124/head
Miró Allard 2024-10-19 11:36:57 +02:00
parent f37cf23ba7
commit 709411ac03
1 changed files with 6 additions and 2 deletions

View File

@ -76,6 +76,9 @@
<form action="/.auth" method="POST" id="login"> <form action="/.auth" method="POST" id="login">
<div class="error-message"></div> <div class="error-message"></div>
<div> <div>
<label for="username">
Username
</label>
<input <input
type="text" type="text"
name="username" name="username"
@ -84,15 +87,16 @@
autocorrect="off" autocorrect="off"
autocapitalize="off" autocapitalize="off"
autofocus autofocus
placeholder="Username"
/> />
</div> </div>
<div> <div>
<label for="password">
Password
</label>
<input <input
type="password" type="password"
name="password" name="password"
id="password" id="password"
placeholder="Password"
/> />
</div> </div>
<div> <div>