#59 add front thymeleaf

This commit is contained in:
Nightblade73 2019-04-19 17:30:30 +04:00
parent 21ba06170a
commit 9f664b2618

View File

@ -27,16 +27,19 @@
<div class="col-md-3 col-sm-12"> <div class="col-md-3 col-sm-12">
<div class="filter"> <div class="filter">
<h5>Фильтр:</h5> <h5>Фильтр:</h5>
<select class="form-control" id="author" <select class="selectpicker form-control" id="user"
onchange="this.form.submit();"> th:field="${filteredConferences.filterUserId}"
<option value="">Все авторы</option> onchange="this.form.submit();" data-style="btn-primary" data-size="5">
<option>lastName <option value="">Все участники</option>
<option th:each="user: ${allUsers}" th:value="${user.id}"
th:text="${user.lastName}">lastName
</option> </option>
</select> </select>
<select class="form-control" id="year" <select class="selectpicker form-control" id="year" th:field="${filteredConferences.year}"
onchange="this.form.submit();"> onchange="this.form.submit();" data-style="btn-primary" data-size="5">
<option value="">Все годы</option> <option value="">Все годы</option>
<option>year <option th:each="year: ${allYears}" th:value="${year}"
th:text="${year}">year
</option> </option>
</select> </select>
</div> </div>