Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • target/classes/templates/fragments/searchBarGenre.html

    rf25e8dd rc02189f  
    1 <div>
    2       <label for="searchGenre" style="width: 150px;">Пребарај по жанр</label>
    3         <input id="searchGenre" type="text" placeholder="жанр">
    4         <button class="search-button">Пребарај</button>
     1<div xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" style="width:60%; margin: auto; margin-bottom: 10px">
     2        <select th:if="${genres!=null}" id="searchGenre" class="form-control" style="float: left; display: block; width: 50%">
     3            <option value="" selected>Сите</option>
     4            <option th:each="genre: ${genres}" th:value="${genre.getGenreType()}" th:text="${genre.getGenreType()}"></option>
     5        </select>
     6        <div class="input-group-append" style="width: 40%">
     7            <button class="btn btn-secondary  search-button" style="width: 100%">Филтрирај по жанр</button>
     8        </div>
    59</div>
Note: See TracChangeset for help on using the changeset viewer.