1
|
<!DOCTYPE html>
|
2
|
|
3
|
<html xmlns:th="http://www.thymeleaf.org" lang="cs">
|
4
|
<head>
|
5
|
<title>PIA Login</title>
|
6
|
</head>
|
7
|
<body>
|
8
|
<h1>Login</h1>
|
9
|
|
10
|
<p th:if="${param.error}" class="error">Wrong user or password!</p>
|
11
|
|
12
|
<form th:action="@{/login}" method="post">
|
13
|
<div>
|
14
|
<label for="username">Username: </label><input type="text" name="username" id="username" />
|
15
|
</div>
|
16
|
<div>
|
17
|
<label for="password">Password: </label><input type="password" name="password" id="password" />
|
18
|
</div>
|
19
|
<div>
|
20
|
<input type="submit" value="Login" />
|
21
|
</div>
|
22
|
</form>
|
23
|
</body>
|
24
|
</html>
|