38 lines
1.6 KiB
HTML
38 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:th="http://www.thymeleaf.org"
|
|
layout:decorate="~{layouts/page-layout}">
|
|
<head>
|
|
<title>Reset Password</title>
|
|
</head>
|
|
<div layout:fragment="page_subtitle">
|
|
<h1 class="title" th:text="#{'Forgot Password?'}" ></h1>
|
|
<p class="text-center mb-3">Please enter your username to reset your password.</p>
|
|
</div>
|
|
<body layout:fragment="page_content" id="page_content">
|
|
<div class="login-box card">
|
|
<div class="card-body">
|
|
<div class="section-space"></div>
|
|
<form id="myform" th:action="@{#{url.pword.reset}}"
|
|
th:object="${forgotPassword}" method="POST">
|
|
<h3 class="box-title m-b-20">Forgot Password</h3>
|
|
<div th:if="${#fields.hasErrors('username')}" class="alert alert-danger" role="alert"
|
|
th:errors="*{username}">
|
|
</div>
|
|
<div class="form-group ">
|
|
<div class="col-xs-12">
|
|
<input type="text" th:field="*{username}" class="form-control" th:classappend="${#fields.hasErrors('username')} ? 'has-error'" th:placeholder="#{lbl.uname}"> </div>
|
|
</div>
|
|
<div class="row p-3 pt-0">
|
|
<div class="ml-auto">
|
|
<a class="btn waves-effect waves-light btn-secondary" href="#" th:href="@{#{url.login}}"><i class="material-icons">keyboard_backspace</i> Back to Login Page</a>
|
|
<button class="btn btn-primary btn-fill" onclick="document.getElementById('myform').submit()">
|
|
<i class="fa fa-google-square"></i> <th:block th:text="#{btn.lbl.reset}" />
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |