-
Notifications
You must be signed in to change notification settings - Fork 490
Expand file tree
/
Copy pathadd.html
More file actions
42 lines (33 loc) · 975 Bytes
/
add.html
File metadata and controls
42 lines (33 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en" xmlns:th = "http://www.thymeleaf.org/">
<head>
<meta charset="UTF-8">
<link href="../static/css/styles.css" th:href="@{/css/styles.css}" rel="stylesheet" />
<title>Sign Up</title>
</head>
<body>
<form method = 'post' th:action="@{/user}">
<label>
Username:
<input th:field="${user.username}">
</label>
<p class="error" th:errors="${user.username}"></p>
<label>
Email:
<input th:field="${user.email}">
</label>
<p class="error" th:errors="${user.email}"></p>
<label>
Password:
<input type = 'password' th:field="${user.password}">
</label>
<p class="error" th:errors="${user.password}"></p>
<label>
Verify Password:
<input type = 'password' th:field="${user.verifyPassword}">
</label>
<p class="error" th:errors="${user.verifyPassword}"></p>
<input type = 'submit' value = 'Sign Up'>
</form>
</body>
</html>