[EDIT] 日付が自動で記入されるように変更しました。
This commit is contained in:
@@ -4,16 +4,22 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Insert title here</title>
|
||||
<link rel="stylesheet" th:href="@{/css/menu.css}">
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div th:replace="~{header :: header}"></div>
|
||||
|
||||
<h1>取引登録</h1>
|
||||
|
||||
<form th:action="@{/transaction/create}" th:object="${transactionForm}" method="post">
|
||||
|
||||
<div>
|
||||
<label for="transactionDate">日付</label>
|
||||
<input type="date" id="transactionDate" th:field="*{transactionDate}">
|
||||
<input type="date" id="transactionDate" name="transactionDate" th:value="*{transactionDate}">
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user