aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/register.html
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2025-02-18 20:11:33 -0600
committerWilliam Harrington <kb0iic@berzerkula.org>2025-02-18 20:11:33 -0600
commit9cb9460c87b8e48088139cc36c6b47ad03ff95a4 (patch)
treea61aff246653263d774114a736714fd3fa7774de /src/main/resources/templates/register.html
parentbc6d64f5a66c478008ad93a19d14ab1bf9b54668 (diff)
Use explicit label with for and id attributes connected to an input or textarea.HEADmaster
Diffstat (limited to 'src/main/resources/templates/register.html')
-rw-r--r--src/main/resources/templates/register.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/main/resources/templates/register.html b/src/main/resources/templates/register.html
index 230bbeb..e09add7 100644
--- a/src/main/resources/templates/register.html
+++ b/src/main/resources/templates/register.html
@@ -19,9 +19,9 @@
th:value="${_csrf.token}" />
<div class="row mb-3">
- <label class="col-sm-4 col-form-label">First Name*</label>
+ <label for="firstname" class="col-sm-4 col-form-label">First Name*</label>
<div class="col-sm-8">
- <input class="form-control" th:field="${registerDto.firstName}" >
+ <input id="firstname" class="form-control" th:field="${registerDto.firstName}" >
<p th:if="${#fields.hasErrors('firstName')}"
th:errorclass="text-danger"
th:errors="${registerDto.firstName}" ></p>
@@ -29,9 +29,9 @@
</div>
<div class="row mb-3">
- <label class="col-sm-4 col-form-label">Last Name*</label>
+ <label for="lastname" class="col-sm-4 col-form-label">Last Name*</label>
<div class="col-sm-8">
- <input class="form-control" th:field="${registerDto.lastName}" >
+ <input id="lastname" class="form-control" th:field="${registerDto.lastName}" >
<p th:if="${#fields.hasErrors('lastName')}"
th:errorclass="text-danger"
th:errors="${registerDto.lastName}" ></p>
@@ -39,9 +39,9 @@
</div>
<div class="row mb-3">
- <label class="col-sm-4 col-form-label">Email*</label>
+ <label for="email" class="col-sm-4 col-form-label">Email*</label>
<div class="col-sm-8">
- <input class="form-control" th:field="${registerDto.email}" >
+ <input id="email" class="form-control" th:field="${registerDto.email}" >
<p th:if="${#fields.hasErrors('email')}"
th:errorclass="text-danger"
th:errors="${registerDto.email}" ></p>
@@ -49,9 +49,9 @@
</div>
<div class="row mb-3">
- <label class="col-sm-4 col-form-label">Phone</label>
+ <label for="phone" class="col-sm-4 col-form-label">Phone</label>
<div class="col-sm-8">
- <input class="form-control" th:field="${registerDto.phone}" >
+ <input id="phone" class="form-control" th:field="${registerDto.phone}" >
<p th:if="${#fields.hasErrors('phone')}"
th:errorclass="text-danger"
th:errors="${registerDto.phone}" ></p>
@@ -59,9 +59,9 @@
</div>
<div class="row mb-3">
- <label class="col-sm-4 col-form-label">Address</label>
+ <label for="address" class="col-sm-4 col-form-label">Address</label>
<div class="col-sm-8">
- <input class="form-control" th:field="${registerDto.address}" >
+ <input id="address" class="form-control" th:field="${registerDto.address}" >
<p th:if="${#fields.hasErrors('address')}"
th:errorclass="text-danger"
th:errors="${registerDto.address}" ></p>
@@ -69,9 +69,9 @@
</div>
<div class="row mb-3">
- <label class="col-sm-4 col-form-label">Password*</label>
+ <label for="password" class="col-sm-4 col-form-label">Password*</label>
<div class="col-sm-8">
- <input class="form-control" type="password"
+ <input id="password" class="form-control" type="password"
th:field="${registerDto.password}" >
<p th:if="${#fields.hasErrors('password')}"
th:errorclass="text-danger"
@@ -80,9 +80,9 @@
</div>
<div class="row mb-3">
- <label class="col-sm-4 col-form-label">Confirm Password*</label>
+ <label for="confirmpassword" class="col-sm-4 col-form-label">Confirm Password*</label>
<div class="col-sm-8">
- <input class="form-control" type="password"
+ <input id="confirmpassword" class="form-control" type="password"
th:field="${registerDto.confirmPassword}" >
<p th:if="${#fields.hasErrors('confirmPassword')}"
th:errorclass="text-danger"