[FIX] 送り先の修正及び変数名、表示法の修正
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
<form th:action="${mode == 'regist'} ? @{/user/register/return}: @{/change}" method="post">
|
<form th:action="${mode == 'regist'} ? @{/user/register/return}: @{/change}" method="post">
|
||||||
<button type="submit">確定</button>
|
<button type="submit">確定</button>
|
||||||
|
|
||||||
<div class="accordion" id="accordionExample">
|
<div class="accordion" id="accordionExample">
|
||||||
<div class="accordion-item" th:each="course:${courseList}">
|
<div class="accordion-item" th:each="course:${courseList}">
|
||||||
<h2 class="accordion-header d-flex align-items-center">
|
<h2 class="accordion-header d-flex align-items-center">
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<main>
|
<main>
|
||||||
<h1>新規会員登録</h1>
|
<h1>新規会員登録</h1>
|
||||||
|
|
||||||
<form th:action="@{/user/register/confirm}" th:object="${userForm}" method="post">
|
<form th:action="@{/course/select/register}" th:object="${userForm}" method="post">
|
||||||
<div>
|
<div>
|
||||||
<label for="userName">氏名</label>
|
<label for="userName">氏名</label>
|
||||||
<input type="text"
|
<input type="text"
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
th:field="*{secretQuestionId}"
|
th:field="*{secretQuestionId}"
|
||||||
required>
|
required>
|
||||||
<option value="">選択してください</option>
|
<option value="">選択してください</option>
|
||||||
<option th:each="question : ${questionList}"
|
<option th:each="question : ${session.questionList}"
|
||||||
th:value="${question.secretQuestionId}"
|
th:value="${question.secretQuestionId}"
|
||||||
th:text="${question.questionText}">
|
th:text="${question.questionText}">
|
||||||
</option>
|
</option>
|
||||||
@@ -109,8 +109,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<label>コース</label>
|
<label>コース</label>
|
||||||
<input type="hidden" th:field="*{courseId}">
|
<input type="hidden" th:field="*{courseId}">
|
||||||
<span th:text="${selectedCourseName}">未選択</span>
|
<button type="submit">コース選択</button>
|
||||||
<button type="submit"onclick="location.href='/course/select/register'">コース選択</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -1,79 +1,98 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>新規会員登録確認</title>
|
<title>新規会員登録確認</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="pb-5 pt-5">
|
<body class="pb-5 pt-5">
|
||||||
<div th:replace="~{header :: header}">
|
<div th:replace="~{header :: header}">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<h1>新規会員登録確認</h1>
|
<h1>新規会員登録確認</h1>
|
||||||
|
|
||||||
<div>
|
<form th:action="@{/user/register/complete}" th:object="${userForm}" method="post">
|
||||||
<p>氏名</p>
|
<div>
|
||||||
<p th:text="${user.userName}"></p>
|
<label for="userName">氏名</label>
|
||||||
</div>
|
<input type="text" id="userName" th:field="*{userName}" maxlength="100" readonly>
|
||||||
|
</div>
|
||||||
<div>
|
|
||||||
<p>メールアドレス</p>
|
<div>
|
||||||
<p th:text="${user.mailAddress}"></p>
|
<label for="mailAddress">メールアドレス</label>
|
||||||
</div>
|
<input type="email" id="mailAddress" th:field="*{mailAddress}" maxlength="255" readonly>
|
||||||
|
</div>
|
||||||
<div>
|
|
||||||
<p>生年月日</p>
|
<div>
|
||||||
<p th:text="${user.birthDate}"></p>
|
<label for="birthDate">生年月日</label>
|
||||||
</div>
|
<input type="date" id="birthDate" name="birthDate" th:value="*{birthDate}" required readonly>
|
||||||
|
</div>
|
||||||
<div>
|
|
||||||
<p>パスワード</p>
|
<div>
|
||||||
<p>********</p>
|
<label for="password">パスワード</label>
|
||||||
</div>
|
<input type="password" id="password" name="password" th:value="*{password}" minlength="8"
|
||||||
|
maxlength="255" required readonly>
|
||||||
<div>
|
</div>
|
||||||
<p>秘密の質問</p>
|
|
||||||
<p th:text="${user.secretQuestionId}"></p>
|
<div>
|
||||||
</div>
|
<label for="secretQuestionId">秘密の質問</label>
|
||||||
|
<select id="secretQuestionId" th:field="*{secretQuestionId}" required readonly>
|
||||||
<div>
|
<option value="">選択してください</option>
|
||||||
<p>秘密の質問の回答</p>
|
<option th:each="question : ${session.questionList}" th:value="${question.secretQuestionId}"
|
||||||
<p th:text="${user.secretAnswer}"></p>
|
th:text="${question.questionText}">
|
||||||
</div>
|
</option>
|
||||||
|
</select>
|
||||||
<div>
|
</div>
|
||||||
<p>貯蓄金</p>
|
|
||||||
<p th:text="${user.saving}"></p>
|
<div>
|
||||||
</div>
|
<label for="secretAnswer">秘密の質問の回答</label>
|
||||||
|
<input type="text" id="secretAnswer" th:field="*{secretAnswer}" maxlength="100" readonly>
|
||||||
<div>
|
</div>
|
||||||
<p>年収</p>
|
|
||||||
<p th:text="${user.annualIncome}"></p>
|
<div>
|
||||||
</div>
|
<label for="saving">貯蓄金</label>
|
||||||
|
<input type="number" id="saving" th:field="*{saving}" min="0" readonly>
|
||||||
<div>
|
</div>
|
||||||
<p>月別使用可能額</p>
|
|
||||||
<p th:text="${user.monthlyBudget}"></p>
|
<div>
|
||||||
</div>
|
<label for="annualIncome">年収</label>
|
||||||
|
<input type="number" id="annualIncome" th:field="*{annualIncome}" min="0" readonly>
|
||||||
<div>
|
</div>
|
||||||
<p>目標</p>
|
|
||||||
<p th:text="${user.goalId}"></p>
|
<div>
|
||||||
</div>
|
<label for="monthlyBudget">月別使用可能金額</label>
|
||||||
|
<input type="number" id="monthlyBudget" th:field="*{monthlyBudget}" min="0" readonly>
|
||||||
<div>
|
</div>
|
||||||
<p>コース</p>
|
|
||||||
<p th:text="${user.courseId}"></p>
|
<div>
|
||||||
</div>
|
<label for="goalId">目標</label>
|
||||||
|
<input type="number" id="goalId" th:field="*{goalId}" min="0" readonly>
|
||||||
<div>
|
</div>
|
||||||
<form th:action="@{/user/register}" method="get">
|
|
||||||
<button type="submit">戻る</button>
|
<div>
|
||||||
</form>
|
<label>コース</label>
|
||||||
</div>
|
<input type="hidden" th:field="*{courseId}">
|
||||||
<form th:action="@{/user/register/complete}" method="post">
|
<span th:text="${selectedCourseName}">未選択</span>
|
||||||
<button type="submit">確定</button>
|
<button type="submit">コース選択</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<button type="submit">作成</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<form th:action="@{/user/register}" method="get">
|
||||||
|
<button type="submit">戻る</button>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
<form th:action="@{/user/register/complete}" method="post">
|
||||||
|
<button type="submit">確定</button>
|
||||||
|
</form>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user