[add]ISBN条件を追加
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
<br><br>
|
||||
|
||||
<label for="isbn">ISBN<span style="color:red;">※</span></label><br>
|
||||
<input type="text" id="isbn" name="isbn" placeholder="例:978-1-23-456789-0" th:value="${bookInsert.isbn}" required>
|
||||
<input type="text" id="isbn" name="isbn" placeholder="ISBNを入力" th:value="${bookInsert.isbn}" required>
|
||||
<div th:if="${#fields.hasErrors('isbn')}" th:errors="*{isbn}" style="color:red">
|
||||
</div>
|
||||
<br><br>
|
||||
|
||||
<label for="title">著者名<span style="color:red;">※</span></label><br>
|
||||
@@ -69,7 +71,7 @@
|
||||
<br><br>
|
||||
|
||||
<label for="condition">図書状態<span style="color:red;">※</span></label><br>
|
||||
<select name="condition" required>
|
||||
<select th:field="*{condition}" required>
|
||||
<option value="">選択してください</option>
|
||||
<option value="1">新品同様</option>
|
||||
<option value="2">良好</option>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<input type="hidden" name="title" th:value="${bookInsert.title}">
|
||||
<input type="hidden" name="isbn" th:value="${bookInsert.isbn}">
|
||||
<input type="hidden" name="author" th:value="${bookInsert.author}">
|
||||
<input type="hidden" name="category" th:value="${bookInsert.bookCategoryId}">
|
||||
<input type="hidden" name="bookCategoryId" th:value="${bookInsert.bookCategoryId}">
|
||||
<input type="hidden" name="subcategory" th:value="${bookInsert.subcategory}">
|
||||
<input type="hidden" name="publisher" th:value="${bookInsert.publisher}">
|
||||
<input type="hidden" name="publicationDate" th:value="${bookInsert.publicationDate}">
|
||||
|
||||
Reference in New Issue
Block a user