main
Last change
on this file since 9dcbf44 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
|
Rev | Line | |
---|
[60de3eb] | 1 | <div>
|
---|
[feffc2f] | 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>
|
---|
[f484b14] | 15 | <h1 th:if="${hasError}" th:text="${error}"></h1>
|
---|
| 16 | <div th:if="${!hasError}">
|
---|
[feffc2f] | 17 | <form class="form-signin mt-xl-5" method="post" action="/part/repairshopdelivery">
|
---|
| 18 | <p>
|
---|
[f484b14] | 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()}">
|
---|
[feffc2f] | 25 | </option>
|
---|
| 26 | </select>
|
---|
| 27 | </p>
|
---|
[f484b14] | 28 | <button class="btn btn-lg btn-primary btn-block" type="submit">Следно</button>
|
---|
[feffc2f] | 29 | </form>
|
---|
[f484b14] | 30 | </div>
|
---|
[feffc2f] | 31 | </main>
|
---|
| 32 |
|
---|
[60de3eb] | 33 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.