source: src/main/resources/templates/addFilm.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: 3.7 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 Film</h1>
5 </div>
6 </section>
[302b233]7
[a073dad]8 <div class="container">
9 <div class="row">
10 <div class="col-md-5">
11 <form action="/home/addF" method="POST">
12 <div class="form-group">
13 <label for="name">Name</label>
14 <input type="text"
15 class="form-control"
16 id="name"
17 name="name"
18 required
19 placeholder="Name">
20 </div>
21 <div class="form-group">
22 <label for="duration">Duration</label>
23 <input type="number"
24 class="form-control"
25 id="duration"
26 name="duration"
27 placeholder="Duration">
28 </div>
29 <div class="form-group">
30 <label for="actors">Actors</label>
31 <input type="text"
32 class="form-control"
33 id="actors"
34 name="actors"
35 placeholder="Actors">
36 </div>
37 <div class="form-group">
38 <label for="genre">Genre</label>
39 <input type="text"
40 class="form-control"
41 id="genre"
42 name="genre"
43 placeholder="Genre">
44 </div> <div class="form-group">
45 <label for="age_category">Age Category</label>
46 <input type="text"
47 class="form-control"
48 id="age_category"
49 name="age_category"
50 placeholder="Age Category">
51 </div>
52 <div class="form-group">
53 <label for="url">Url</label>
54 <input type="url"
55 class="form-control"
56 id="url"
57 name="url"
58 >
59 </div>
60 <div class="form-group">
61 <label for="director">Director</label>
62 <input type="text"
63 class="form-control"
64 id="director"
65 name="director"
66 placeholder="Director">
67 </div>
68 <div class="form-group">
69 <label for="start_date">Start Date</label>
70 <input type="date"
71 class="form-control"
72 id="start_date"
73 name="start_date"
74 >
75 </div>
76 <div class="form-group">
77 <label for="end_date">End Date</label>
78 <input type="date"
79 class="form-control"
80 id="end_date"
81 name="end_date"
82 >
83 </div>
84
85 <button id="submit" type="submit" class="btn btn-primary">Add Film</button>
86 </form>
87 </div>
88 </div>
89 </div>
90
91</th:block>
Note: See TracBrowser for help on using the repository browser.