main
Last change
on this file since d4b888e was f484b14, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago |
Added full functionality for creating order
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | <div>
|
---|
2 | <header>
|
---|
3 | <h1>Податоци за достава</h1>
|
---|
4 | </header>
|
---|
5 | <main>
|
---|
6 | <h3>Достава до дома</h3>
|
---|
7 | <form class="form-signin mt-xl-5" method="post" action="/part/homedelivery">
|
---|
8 | <p>
|
---|
9 | <label for="address" class="sr-only">Адреса</label>
|
---|
10 | <input type="text" id="address" name="address" class="form-control" placeholder="Внесете ја вашата адреса" required="" autofocus=""/>
|
---|
11 | </p>
|
---|
12 | <button class="btn btn-lg btn-primary btn-block" type="submit">Достава до дома</button>
|
---|
13 | </form>
|
---|
14 | <h3>Достава до овластен сервис</h3>
|
---|
15 | <h1 th:if="${hasError}" th:text="${error}"></h1>
|
---|
16 | <div th:if="${!hasError}">
|
---|
17 | <form class="form-signin mt-xl-5" method="post" action="/part/repairshopdelivery">
|
---|
18 | <p>
|
---|
19 | <span>Избор на некоја од твоите коли</span>
|
---|
20 | <label for="vin" class="sr-only">Избор на некоја од твоите коли</label>
|
---|
21 | <select id="vin" required name="vin">
|
---|
22 | <option th:each="car : ${cars}"
|
---|
23 | th:text="${car.getCar().getCartype()}"
|
---|
24 | th:value="${car.getVin()}">
|
---|
25 | </option>
|
---|
26 | </select>
|
---|
27 | </p>
|
---|
28 | <button class="btn btn-lg btn-primary btn-block" type="submit">Следно</button>
|
---|
29 | </form>
|
---|
30 | </div>
|
---|
31 | </main>
|
---|
32 |
|
---|
33 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.