source: src/main/resources/templates/addEventToCinema.html@ fc448f5

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

cinemaOrganizesEvent implemented

  • Property mode set to 100644
File size: 1.4 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/addCinemaOrganizesEvent" 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>Cinema</label>
22 <select name="id_event" id="f2" class="form-control">
23 <option
24 th:each="e : ${events}"
25 th:value="${e.id_event}"
26 th:text="${e.theme}">
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.