48 lines
986 B
HTML
48 lines
986 B
HTML
<!DOCTYPE html>
|
|
<html lang="ja"xmlns:th="http://www.thymeleaf.org">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>ログイン</title>
|
|
</head>
|
|
<body class="pb-5 pt-5">
|
|
<div th:replace="~{header :: header}">
|
|
</div>
|
|
|
|
<main>
|
|
<h1>ログイン</h1>
|
|
|
|
<div th:if="${errorMessage}" th:text="${errorMessage}"></div>
|
|
<form th:action="@{/login}" th:object="${loginForm}" method="post">
|
|
<div>
|
|
<label for="mailAddress">メールアドレス</label>
|
|
|
|
<input type="email"
|
|
id="mailAddress"
|
|
th:field="*{mailAddress}"
|
|
required>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="password">パスワード</label>
|
|
|
|
<input type="password"
|
|
id="password"
|
|
th:field="*{password}"
|
|
required>
|
|
</div>
|
|
|
|
<div>
|
|
<button type="submit">ログイン</button>
|
|
</div>
|
|
</form>
|
|
|
|
<div>
|
|
<a th:href="@{user/register}">新規会員登録</a>
|
|
</div>
|
|
|
|
<div>
|
|
<a th:href="@{/authentication}">パスワードを忘れた方</a>
|
|
</div>
|
|
</main>
|
|
</body>
|
|
</html> |