minor edits

This commit is contained in:
Zakharov_Rostislav 2024-06-09 15:28:59 +04:00
parent b8c94f0659
commit e2e27510da

View File

@ -11,6 +11,23 @@
<h2 th:case="0">Данные отсутствуют</h2>
<th:block th:case="*">
<h2>Поиск</h2>
<form method="get">
<select id="typeId" name="typeId" th:value="*{typeId}">
<option value="-1">Выберите жанр</option>
<option th:each="type : ${types}"
th:value="${type.Id}"
th:text="${type.name}">
</option>
</select>
<select id="authorId" name="authorId" th:value="*{authorId}">
<option value="-1">Выберите автора</option>
<option th:each="author : ${authors}"
th:value="${author.id}"
th:text="${author.name}">
</option>
</select>
<button class="btn btn-primary me-2 button-fixed-width" type="submit">Обновить</button>
</form>
<table class="table">
<caption></caption>
<thead>