Fix: login form label references (#1416)

Fixes the login form label references for Username and Password by adding
the missing id attributes to each of the input fields respectively
to which the labels where referring to.
This commit is contained in:
EnameEtavir 2021-05-25 00:26:21 +02:00 committed by GitHub
parent dc453c193d
commit fad558a618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,12 +15,12 @@
<form action="/login" method="POST">
<div class="form-group">
<label for="username"><h6>Username</h6></label>
<input class="text-input form-control" name="username" type="text" placeholder="Username" />
<input class="text-input form-control" id="username" name="username" type="text" placeholder="Username" />
</div>
<div>
<div class="form-group">
<label for="password"><h6>Password</h6></label>
<input class="text-input form-control" name="password" type="password" placeholder="Password" />
<input class="text-input form-control" id="password" name="password" type="password" placeholder="Password" />
</div>
<div class="login-error">
{{.Error}}