|
16 | 16 | </div> |
17 | 17 |
|
18 | 18 | <div th:fragment="mytwcontent"> |
19 | | - <div class="card card-body"> |
20 | | - <form id="formId" th:action="@{/user/register/confirm/{confirmId}(confirmId=${confirmId})}" th:object="${userAccountForm}" method="post"> |
21 | | - <input type="hidden" th:field="*{userEmail}" /> |
22 | | - <div class="form-group form-control-lg"> |
23 | | - <label th:for="${#ids.next('userFullname')}" class="control-label"> |
24 | | - <span th:utext="#{user.registerConfirmed.userFullname}">Full Name</span> |
25 | | - </label> |
26 | | - <input type="text" th:field="*{userFullname}" class="form-control" /> |
27 | | - <div> |
28 | | - <div th:each="err : ${#fields.errors('userFullname')}" th:text="${err}" class="alert alert-danger" > |
29 | | - </div> |
30 | | - </div> |
31 | | - </div> |
32 | | - <div class="form-group form-control-lg"> |
33 | | - <label th:for="${#ids.next('userPassword')}" class="control-label"> |
34 | | - <span th:utext="#{user.registerConfirmed.userPassword}">Password</span> |
35 | | - </label> |
36 | | - <input type="password" th:field="*{userPassword}" class="form-control" /> |
37 | | - <div> |
38 | | - <div th:each="err : ${#fields.errors('userPassword')}" th:text="${err}" class="alert alert-danger" > |
39 | | - </div> |
40 | | - </div> |
41 | | - </div> |
42 | | - <div class="form-group form-control-lg"> |
43 | | - <label th:for="${#ids.next('userPasswordConfirmation')}" class="control-label"> |
44 | | - <span th:utext="#{user.registerConfirmed.userPasswordConfirmation}">Password again</span> |
45 | | - </label> |
46 | | - <input type="password" th:field="*{userPasswordConfirmation}" class="form-control" /> |
47 | | - <div> |
48 | | - <div th:each="err : ${#fields.errors('userPasswordConfirmation')}" th:text="${err}" class="alert alert-danger" > |
49 | | - </div> |
50 | | - </div> |
51 | | - </div> |
52 | | - <button id="confirmRegistration" type="submit" class="btn btn-primary"> |
53 | | - <span th:utext="#{user.registerConfirmed.button}">Confirm Registration</span> |
54 | | - </button> |
55 | | - </form> |
56 | | - </div> |
| 19 | + <form id="formId" th:action="@{/user/register/confirm/{confirmId}(confirmId=${confirmId})}" th:object="${userAccountForm}" method="post"> |
| 20 | + <div class="card"> |
| 21 | + <div class="card-header"> |
| 22 | + <span th:utext="#{user.registerConfirmed.h1}">Register as new User</span> |
| 23 | + </div> |
| 24 | + <div class="card-body"> |
| 25 | + <div class="form-row"> |
| 26 | + <div class="col-md-12 mb-12"> |
| 27 | + <div class="form-group"> |
| 28 | + <label th:for="${#ids.next('userEmail')}" class="control-label">Email</label> |
| 29 | + <input type="email" th:field="*{userEmail}" class="form-control form-control-lg" /> |
| 30 | + <div> |
| 31 | + <div th:each="err : ${#fields.errors('userEmail')}" th:text="${err}" class="alert alert-danger" > |
| 32 | + </div> |
| 33 | + </div> |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + <div class="form-row"> |
| 38 | + <div class="col-md-12 mb-12"> |
| 39 | + <div class="form-group"> |
| 40 | + <label th:for="${#ids.next('userFullname')}" class="control-label"> |
| 41 | + <span th:utext="#{user.registerConfirmed.userFullname}">Full Name</span> |
| 42 | + </label> |
| 43 | + <input type="text" th:field="*{userFullname}" class="form-control form-control-lg" /> |
| 44 | + <div> |
| 45 | + <div th:each="err : ${#fields.errors('userFullname')}" th:text="${err}" class="alert alert-danger" > |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + </div> |
| 50 | + </div> |
| 51 | + <div class="form-row"> |
| 52 | + <div class="col-md-12 mb-12"> |
| 53 | + <div class="form-group"> |
| 54 | + <label th:for="${#ids.next('userPassword')}" class="control-label"> |
| 55 | + <span th:utext="#{user.registerConfirmed.userPassword}">Password</span> |
| 56 | + </label> |
| 57 | + <input type="password" th:field="*{userPassword}" class="form-control form-control-lg" /> |
| 58 | + <div> |
| 59 | + <div th:each="err : ${#fields.errors('userPassword')}" th:text="${err}" class="alert alert-danger" > |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + <div class="form-row"> |
| 66 | + <div class="col-md-12 mb-12"> |
| 67 | + <div class="form-group"> |
| 68 | + <label th:for="${#ids.next('userPasswordConfirmation')}" class="control-label"> |
| 69 | + <span th:utext="#{user.registerConfirmed.userPasswordConfirmation}">Password again</span> |
| 70 | + </label> |
| 71 | + <input type="password" th:field="*{userPasswordConfirmation}" class="form-control form-control-lg" /> |
| 72 | + <div> |
| 73 | + <div th:each="err : ${#fields.errors('userPasswordConfirmation')}" th:text="${err}" class="alert alert-danger" > |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + </div> |
| 78 | + </div> |
| 79 | + </div> |
| 80 | + <div class="card-footer"> |
| 81 | + <div class="form-row"> |
| 82 | + <button id="confirmRegistration" type="submit" class="btn btn-primary"> |
| 83 | + <span th:utext="#{user.registerConfirmed.button}">Confirm Registration</span> |
| 84 | + </button> |
| 85 | + </div> |
| 86 | + </div> |
| 87 | + </div> |
| 88 | + </form> |
57 | 89 | </div> |
58 | 90 |
|
59 | 91 |
|
|
0 commit comments