Merge branch 'h-seya'

This commit is contained in:
h-seya
2026-09-29 16:15:40 +09:00
5 changed files with 89 additions and 18 deletions

View File

@@ -20,7 +20,8 @@
図書情報
</h2>
<form id="lendForm" action="bookLendConfirm" method="post">
<form th:action="@{/bookLend/confirm}" method="POST"
id="lendForm">
<div class="card-body">
<table class="info-table">
@@ -34,8 +35,8 @@
</thead>
<tbody>
<tr th:each="book : ${book}">
<td th:hidden="*{book.bookId}"></td>
<tr>
<!-- <td th:hidden="*{book.bookId}"></td>-->
<td th:text="*{book.bookManageId}"></td>
<td th:text="*{book.title}"></td>
<td th:text="*{book.author}"></td>
@@ -59,7 +60,7 @@
社員ID
</label>
<input type="text" id="employeeId" placeholder="社員IDを入力してください">
<input type="text" name="employeeId" placeholder="社員IDを入力してください">
</select>
</div>
@@ -79,7 +80,7 @@
</label>
<p th:text="${#calendars.format(#calendars.createNowForTimeZone('Asia/Tokyo'),
'yyyy年MM月dd日')}">
'yyyy年MM月dd日')}">
</p>
</div>
@@ -111,9 +112,11 @@
<p>
貸出処理を行うと、対象の図書のステータスが「貸出中」に変更されます。
</p>
<input type="hidden" name="bookManageId" th:value="${book.bookManageId}">
<input type="hidden" name="bookId" th:value="${book.bookId}">
<input type="submit" name="submit" onclick="submitLend()" value="貸出する">
<!-- <button type="button" class="btn btn-primary" onclick="submitLend()">-->
<input type="reset" name="reset" value="入力内容をクリア">