70 lines
1.4 KiB
HTML
70 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html 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>
|
|
<div>
|
|
<p>氏名</p>
|
|
<p th:text="${profileForm.userName}"></p>
|
|
</div>
|
|
|
|
<div>
|
|
<p>メールアドレス</p>
|
|
<p th:text="${profileForm.mailAddress}"></p>
|
|
</div>
|
|
|
|
<div>
|
|
<p>生年月日</p>
|
|
<p th:text="${profileForm.birthDate}"></p>
|
|
</div>
|
|
|
|
<div>
|
|
<p>パスワード</p>
|
|
<form th:action="@{/password/reset}" method="get">
|
|
<button type="submit">パスワード再設定</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div>
|
|
<p>貯蓄金</p>
|
|
<p th:text="${profileForm.saving}"></p>
|
|
</div>
|
|
|
|
<div>
|
|
<p>年収</p>
|
|
<p th:text="${profileForm.annualIncome}"></p>
|
|
</div>
|
|
|
|
<div>
|
|
<p>月別使用可能額</p>
|
|
<p th:text="${profileForm.monthlyBudget}"></p>
|
|
</div>
|
|
|
|
<div>
|
|
<form th:action="@{/profile/edit}" method="get">
|
|
<button type="submit">編集</button>
|
|
</form>
|
|
</div>
|
|
|
|
<form th:action="@{/logout}" method="post">
|
|
<button type="submit">ログアウト</button>
|
|
</form>
|
|
|
|
<form th:action="@{/withdraw}" method="post"
|
|
onsubmit="return confirm('本当に脱退しますか?');">
|
|
<button type="submit">脱退</button>
|
|
</form>
|
|
</main>
|
|
|
|
<div th:replace="~{footer :: footer}">
|
|
</div>
|
|
|
|
</body>
|
|
</html> |