login.html
438 Bytes
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="ISO-8859-1">
<title>User Registration</title>
</head>
<body>
<form action="#" th:action="@{/auth/login}" th:object="${greeting}" method="post">
<p>Username: <input type="text" th:field="*{username}"/></p>
<p>Password: <input type="password" th:field="*{password}"/></p>
<p><input type="submit" value="Login"/></p>
</form>
</body>
</html>