Last change
on this file since fc7ec52 was fc7ec52, checked in by darkopopovski <darkopopovski39@…>, 2 years ago |
all files
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[fc7ec52] | 1 | <th:block xmlns:th="http://www.thymeleaf.org">
|
---|
| 2 | <section class="jumbotron text-center">
|
---|
| 3 | <div class="container">
|
---|
| 4 | <h1 class="jumbotron-heading">Make a reservation</h1>
|
---|
| 5 | </div>
|
---|
| 6 | </section>
|
---|
| 7 |
|
---|
| 8 | <div class="container">
|
---|
| 9 | <div class="row">
|
---|
| 10 | <div class="col-md-5">
|
---|
| 11 | <form action="/reserve/add" method="POST">
|
---|
| 12 | <input id="id" type="hidden" name="id" th:value="(${reservation} != null ? ${reservation} : '')">
|
---|
| 13 |
|
---|
| 14 | <div class="form-group">
|
---|
| 15 | <div class="form-group">
|
---|
| 16 | <label for="reservation_id">Movie ID</label>
|
---|
| 17 | <input type="text"
|
---|
| 18 | class="form-control"
|
---|
| 19 | id="reservation_id"
|
---|
| 20 | name="reservation_id"
|
---|
| 21 | th:value="(${reservation} != null ? ${reservation.reservation_id} : '')"
|
---|
| 22 | required
|
---|
| 23 | placeholder="Your desired ID">
|
---|
| 24 | </div>
|
---|
| 25 |
|
---|
| 26 |
|
---|
| 27 | <button id="submit" type="submit" class="btn btn-primary">Submit</button>
|
---|
| 28 | <a type="button" class="btn btn-primary" href="/movies">Back</a>
|
---|
| 29 | </div>
|
---|
| 30 | </form>
|
---|
| 31 |
|
---|
| 32 | </div>
|
---|
| 33 | </div>
|
---|
| 34 | </div>
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 | </th:block> |
---|
Note:
See
TracBrowser
for help on using the repository browser.