Changeset 5867520 for src/main/resources
- Timestamp:
- 02/08/23 15:48:51 (23 months ago)
- Branches:
- master
- Children:
- 2c7a732
- Parents:
- 90317ea
- Location:
- src/main/resources/templates
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/projections.html
r90317ea r5867520 194 194 border-radius: 20px; 195 195 } 196 .form-group{ 197 width: 200px; 198 } 196 199 </style> 200 <div> 201 <form th:action="@{'/home/projections'}" 202 th:method="GET"> 203 204 <div class="form-group"> 205 <label style="color: white;font-size: 20px;font-weight: bold">Кино</label> 206 <select name="id_cinema" class="form-control" id="id_cinema"> 207 <option 208 th:selected="${cinemas.get(1)}" 209 th:each="cinema : ${cinemas}" 210 th:value="${cinema.getId_cinema()}" 211 th:text="${cinema.getName()}"> 212 </option> 213 </select> 214 215 </div> 216 <button class="button" type="submit">Filter</button> 217 </form> 197 218 <div xmlns:th="http://www.thymeleaf.org"> 198 219 <div class="main"> … … 214 235 <span th:text="${film.getGenre()}"></span> 215 236 </div> 237 <form 238 th:action="@{'/home/getProjections/{id}' (id=${film.getId_film()})}" 239 th:method="GET"> 240 <button class="button" type="submit">Projections</button> 241 </form> 216 242 </div> 217 243 </div>
Note:
See TracChangeset
for help on using the changeset viewer.