source: src/main/resources/templates/addProjection.html@ a073dad

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

html for addEvent, addFilm and addProjection

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[a073dad]1<th:block xmlns:th="http://www.thymeleaf.org">
2 <section class="jumbotron text-center">
3 <div class="container">
4 <h1 class="jumbotron-heading">Add New Projection</h1>
5 </div>
6 </section>
7
8 <div class="container">
9 <div class="row">
10 <div class="col-md-5">
11 <form action="/home/addP" method="POST">
12
13 <div class="form-group">
14 <label for="type_of_technology">Type Of Technology</label>
15 <input type="text"
16 class="form-control"
17 id="type_of_technology"
18 name="type_of_technology"
19 >
20 </div>
21 <div class="form-group">
22 <label for="date_time_start">Start Date</label>
23 <input type="date"
24 class="form-control"
25 id="date_time_start"
26 name="date_time_start"
27 >
28 </div>
29 <div class="form-group">
30 <label for="date_time_end">End Date</label>
31 <input type="date"
32 class="form-control"
33 id="date_time_end"
34 name="date_time_end"
35 >
36 </div>
37 <div class="form-group">
38 <label>Film</label>
39 <select name="id_film" id="f1" class="form-control">
40 <option
41 th:each="f : ${films}"
42 th:value="${f.id_film}"
43 th:text="${f.name}">
44 </option>
45 </select>
46 </div>
47
48 <button id="submit" type="submit" class="btn btn-primary">Add Projection</button>
49 </form>
50 </div>
51 </div>
52 </div>
53
54</th:block>
Note: See TracBrowser for help on using the repository browser.