3 Commits

2 changed files with 13 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ public class GlobalExceptionHandler {
"システムエラーが発生しました。"
+ "初めからやり直してください。");
return "error";
return "redirect:/login";
}

View File

@@ -28,20 +28,18 @@
th:object="${transactionForm}"
method="post">
<div class="mb-3">
<label for="transactionDate"
class="form-label">
日付
</label>
<input type="date"
id="transactionDate"
class="form-control"
th:value="*{transactionDate}"
required>
</div>
<div class="mb-3">
<label for="transactionDate"
class="form-label">
日付
</label>
<input type="date"
id="transactionDate"
class="form-select"
name="transactionDate"
th:value="*{transactionDate}"
required>
</div>
<div class="mb-3">