[ADD]プロフィール編集の作成
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>プロフィール</title>
|
||||
|
||||
72
src/main/resources/templates/profile_edit.html
Normal file
72
src/main/resources/templates/profile_edit.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<!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>
|
||||
<h1>プロフィール編集</h1>
|
||||
|
||||
<form th:action="@{/profile/edit}"th:object="${profileEditForm}"method="post">
|
||||
<div>
|
||||
<label>氏名</label>
|
||||
<input type="text"
|
||||
th:field="*{userName}"
|
||||
maxlength="100"
|
||||
required>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label>メールアドレス</label>
|
||||
<input type="email"
|
||||
th:field="*{mailAddress}"
|
||||
maxlength="255"
|
||||
required>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label>パスワード</label>
|
||||
<input type="password"
|
||||
value="********"
|
||||
disabled>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label>貯蓄金</label>
|
||||
<input type="number"
|
||||
th:field="*{saving}"
|
||||
min="0"
|
||||
required>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label>年収</label>
|
||||
<input type="number"
|
||||
th:field="*{annualIncome}"
|
||||
min="0"
|
||||
required>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label>月別使用可能額</label>
|
||||
<input type="number"
|
||||
th:field="*{monthlyBudget}"
|
||||
min="0"
|
||||
required>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<button type="submit">確認</button>
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
|
||||
<div th:replace="~{footer :: footer}">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user