17 lines
538 B
HTML
17 lines
538 B
HTML
|
<!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>
|
||
|
<input type="submit" value="Submit">
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|