|
18 | 18 | </div>
|
19 | 19 |
|
20 | 20 | <div th:fragment="mytwcontent">
|
21 |
| - <div class="card card-body"> |
22 | 21 | <form th:action="@{/user/resetPassword/confirm/{confirmId}(confirmId=${confirmId})}" th:object="${userAccountForm}" method="post">
|
23 | 22 | <input type="hidden" th:field="*{userFullname}" />
|
24 | 23 | <input type="hidden" th:field="*{userEmail}" />
|
25 |
| - <div class="form-group form-control-lg"> |
26 |
| - <label th:for="${#ids.next('userPassword')}" class="control-label"> |
27 |
| - <span th:utext="#{user.registerConfirmed.userPassword}">Password</span> |
28 |
| - </label> |
29 |
| - <input type="password" th:field="*{userPassword}" class="form-control" /> |
30 |
| - <div> |
31 |
| - <div th:each="err : ${#fields.errors('userPassword')}" th:text="${err}" class="alert alert-danger" > |
32 |
| - </div> |
33 |
| - </div> |
| 24 | + <div class="card"> |
| 25 | + <div class="card-header"> |
| 26 | + <span th:utext="#{user.registerConfirmed.h1}">Register as new User</span> |
34 | 27 | </div>
|
35 |
| - <div class="form-group form-control-lg"> |
36 |
| - <label th:for="${#ids.next('userPasswordConfirmation')}" class="control-label"> |
37 |
| - <span th:utext="#{user.registerConfirmed.userPasswordConfirmation}">Password again</span> |
38 |
| - </label> |
39 |
| - <input type="password" th:field="*{userPasswordConfirmation}" class="form-control" /> |
40 |
| - <div> |
41 |
| - <div th:each="err : ${#fields.errors('userPasswordConfirmation')}" th:text="${err}" class="alert alert-danger" > |
42 |
| - </div> |
| 28 | + <div class="card-body"> |
| 29 | + <div class="form-row"> |
| 30 | + <div class="col-md-12 mb-12"> |
| 31 | + <div class="form-group form-control-lg"> |
| 32 | + <label th:for="${#ids.next('userPassword')}" class="control-label"> |
| 33 | + <span th:utext="#{user.registerConfirmed.userPassword}">Password</span> |
| 34 | + </label> |
| 35 | + <input type="password" th:field="*{userPassword}" class="form-control" /> |
| 36 | + <div> |
| 37 | + <div th:each="err : ${#fields.errors('userPassword')}" th:text="${err}" class="alert alert-danger" > |
| 38 | + </div> |
| 39 | + </div> |
| 40 | + </div> |
| 41 | + </div> |
| 42 | + </div> |
| 43 | + <div class="form-row"> |
| 44 | + <div class="col-md-12 mb-12"> |
| 45 | + <div class="form-group form-control-lg"> |
| 46 | + <label th:for="${#ids.next('userPasswordConfirmation')}" class="control-label"> |
| 47 | + <span th:utext="#{user.registerConfirmed.userPasswordConfirmation}">Password again</span> |
| 48 | + </label> |
| 49 | + <input type="password" th:field="*{userPasswordConfirmation}" class="form-control" /> |
| 50 | + <div> |
| 51 | + <div th:each="err : ${#fields.errors('userPasswordConfirmation')}" th:text="${err}" class="alert alert-danger" > |
| 52 | + </div> |
| 53 | + </div> |
| 54 | + </div> |
43 | 55 | </div>
|
| 56 | + </div> |
44 | 57 | </div>
|
45 |
| - <button id="saveNewPassword" type="submit" class="btn btn-primary"> |
46 |
| - <span th:utext="#{user.resetPasswordConfirmed.button}">Save New Password</span> |
47 |
| - </button> |
| 58 | + <div class="card-footer"> |
| 59 | + <div class="form-row"> |
| 60 | + <button id="saveNewPassword" type="submit" class="btn btn-primary"> |
| 61 | + <span th:utext="#{user.resetPasswordConfirmed.button}">Save New Password</span> |
| 62 | + </button> |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + </div> |
48 | 66 | </form>
|
49 | 67 | </div>
|
50 | 68 | </div>
|
|
0 commit comments