source: src/main/resources/templates/addFilmToCinema.html@ 03fd098

Last change on this file since 03fd098 was 03fd098, checked in by milamihajlovska <mila.mihajlovska01@…>, 23 months ago

cinemaPlaysFilm implemented

  • Property mode set to 100644
File size: 1.1 KB
Line 
1<th:block xmlns:th="http://www.thymeleaf.org">
2
3 <div class="container" style="color: white">
4 <h1 class="jumbotron-heading">Add event to cinema</h1>
5 <div class="row">
6 <div class="col-md-5">
7 <form action="/home/addCinemaPlaysFilm" method="POST">
8
9 <div class="form-group">
10 <label>Cinema</label>
11 <select name="id_cinema" id="f1" class="form-control">
12 <option
13 th:each="c : ${cinemas}"
14 th:value="${c.id_cinema}"
15 th:text="${c.name}">
16 </option>
17 </select>
18 </div>
19
20 <div class="form-group">
21 <label>Film</label>
22 <select name="id_film" id="f2" class="form-control">
23 <option
24 th:each="f : ${films}"
25 th:value="${f.id_film}"
26 th:text="${f.name}">
27 </option>
28 </select>
29 </div>
30 <button style="background-color: #ff5019" id="submit" type="submit" class="btn btn-primary">Add </button>
31 </form>
32 </div>
33 </div>
34 </div>
35
36</th:block>
Note: See TracBrowser for help on using the repository browser.