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