source: src/main/resources/templates/addCarSampleForUser.html@ cab5859

main
Last change on this file since cab5859 was f484b14, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Added full functionality for creating order

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[f484b14]1<div>
2 <form class="form-signin mt-xl-5" method="post" action="/addCarSampleForUser">
3 <h2 class="form-signin-heading">Додај ја својата кола</h2>
4 <p>
5 <label for="vin" class="sr-only">Број на шасија</label>
6 <input type="number" id="vin" name="vin" class="form-control" placeholder="Внеси го бројот на шасија" required="" autofocus=""/>
7 </p>
8 <p>
9 <label for="year" class="sr-only">Година на производство</label>
10 <input type="number" id="year" name="year" class="form-control" placeholder="Внеси ја годината на производство" required="" autofocus=""/>
11 </p>
12 <p>
13 <label for="power" class="sr-only">Јачина на мотор</label>
14 <input type="number" id="power" name="power" class="form-control" placeholder="Внеси јачина на мотор" required="" autofocus=""/>
15 </p>
16 <p>
17 <label for="displacement" class="sr-only">Зафатнина</label>
18 <input type="number" id="displacement" name="displacement" class="form-control" placeholder="Внеси зафатнина" required=""/>
19 </p>
20 <p>
21 <label for="fuel" class="sr-only">
22 Одбери тип на гориво
23 </label><select class="form-control" id="fuel" name="fuel" required>
24 <option value="Petrol">Petrol</option>
25 <option value="Diesel">Diesel</option>
26 <option value="Petrol/Gas">Petrol/Gas</option>
27 </select>
28 </p>
29 <p>
30 <label for="km" class="sr-only">Поминати километри</label>
31 <input type="number" id="km" name="km" class="form-control" placeholder="Додај поминати километри.." required=""/>
32 </p>
33 <p>
34 <label for="cartype" class="sr-only">
35 Одбери од кој тип на кола
36 </label><select class="form-control" id="cartype" name="cartype" required>
37 <option th:each="car : ${cars}"
38 th:text="${car.getCartype()}"
39 th:value="${car.getId()}">
40 </option>
41 </select>
42 </p>
43 <button class="btn btn-lg btn-primary btn-block" type="submit">Додај кола</button>
44 </form>
45</div>
Note: See TracBrowser for help on using the repository browser.