- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/projections.html
r5867520 r90317ea 194 194 border-radius: 20px; 195 195 } 196 .form-group{197 width: 200px;198 }199 196 </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 <option208 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>218 197 <div xmlns:th="http://www.thymeleaf.org"> 219 198 <div class="main"> … … 235 214 <span th:text="${film.getGenre()}"></span> 236 215 </div> 237 <form238 th:action="@{'/home/getProjections/{id}' (id=${film.getId_film()})}"239 th:method="GET">240 <button class="button" type="submit">Projections</button>241 </form>242 216 </div> 243 217 </div>
Note:
See TracChangeset
for help on using the changeset viewer.