Chatto/chatto/src/main/resources/templates/registration.html

18 lines
586 B
HTML
Raw Normal View History

2019-09-27 06:37:55 +00:00
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="#" th:action="@{/perform_registration}"
th:object=${userDTO} method="POST">
<label>Enter user name: </label> <input th:field="*{userName}"
type="text" name="username" id="username"> <br> <br>
<label>Enter password: </label> <input th:field="*{password}"
type="password" name="password" id="password"> <br> <br>
2019-10-02 16:25:46 +00:00
<input type="password" id="password-repeat">
2019-09-27 06:37:55 +00:00
<input type="submit" value="Submit">
</form>
</body>
</html>