|
1 | | -<div class="modal fade" id="signUpModal" tabindex="-1" aria-labelledby="signUpModalLabel" aria-hidden="true"> |
2 | | - <div class="modal-dialog"> |
3 | | - <div class="modal-content"> |
4 | | - <!-- Modal header --> |
5 | | - <div class="modal-header"> |
6 | | - <h5 class="modal-title" id="signUpModalLabel">Sign Up</h5> |
7 | | - <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
| 1 | +<div class="container mt-4 bg-white "> |
| 2 | + <div class="row"> |
| 3 | + <div class="col"> |
| 4 | + <div class="my-3"> |
| 5 | + <h3>Registration Form</h3> |
| 6 | + <p>Please fill out the following information:</p> |
8 | 7 | </div> |
| 8 | + <form th:action="@{/thy/security/registration}" method="post" th:object="${userRegistrationModel}"> |
| 9 | + <div class="form-group"> |
| 10 | + <label for="email">Email</label> |
| 11 | + <input type="email" class="form-control" id="email" name="email" required> |
| 12 | + <span th:if="${#fields.hasErrors('email')}" th:errors="*{email}"></span> |
| 13 | + </div> |
| 14 | + <div class="form-group"> |
| 15 | + <label for="firstName">First Name</label> |
| 16 | + <input type="text" class="form-control" id="firstName" name="firstName" required> |
| 17 | + <span th:if="${#fields.hasErrors('firstName')}" th:errors="*{firstName}"></span> |
| 18 | + </div> |
| 19 | + <div class="form-group"> |
| 20 | + <label for="password">Password</label> |
| 21 | + <input type="password" class="form-control" id="password" name="password" required> |
| 22 | + <span th:if="${#fields.hasErrors('password')}" th:errors="*{password}"></span> |
| 23 | + </div> |
| 24 | + <div class="form-group"> |
| 25 | + <label for="confirmPassword">Confirm Password</label> |
| 26 | + <input type="password" class="form-control" id="confirmPassword" name="confirmPassword" required> |
| 27 | + <span th:if="${#fields.hasErrors('passwordConfirmation')}" th:errors="*{passwordConfirmation}"></span> |
| 28 | + </div> |
| 29 | + <button type="submit" class="btn btn-primary m-3">Sign Up</button> |
| 30 | + |
| 31 | + </form> |
9 | 32 |
|
10 | | - <!-- Modal body --> |
11 | | - <div class="modal-body"> |
12 | | - <div class="d-flex justify-content-center"> |
13 | | - <div class="sign-up-container"> |
14 | | - <form th:action="@{/thy/security/signup}" method="post"> |
15 | | - <div class="form-group"> |
16 | | - <label for="email">Email</label> |
17 | | - <input type="email" class="form-control" id="email" name="email" required> |
18 | | - </div> |
19 | | - <div class="form-group"> |
20 | | - <label for="firstName">First Name</label> |
21 | | - <input type="text" class="form-control" id="firstName" name="firstName" required> |
22 | | - </div> |
23 | | - <div class="form-group"> |
24 | | - <label for="password">Password</label> |
25 | | - <input type="password" class="form-control" id="password" name="password" required> |
26 | | - </div> |
27 | | - <div class="form-group"> |
28 | | - <label for="confirmPassword">Confirm Password</label> |
29 | | - <input type="password" class="form-control" id="confirmPassword" name="confirmPassword" required> |
30 | | - </div> |
31 | | - <button type="submit" class="btn btn-primary mt-3">Sign Up</button> |
32 | | - </form> |
33 | 33 |
|
34 | | - </div> |
35 | | - </div> |
36 | | - </div> |
37 | 34 | </div> |
38 | 35 | </div> |
39 | 36 | </div> |
| 37 | + |
| 38 | + |
0 commit comments