source: src/main/resources/templates/addRepairShop.html@ e02787e

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

Admin views for adding things to the database

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[84652fb]1<div>
2 <form class="form-signin mt-xl-4" method="post" action="/addRepairShop">
3 <h2 class="form-signin-heading mb-3">Додај сервис</h2>
4 <p>
5 <label for="name" class="sr-only">Име на сервис</label>
6 <input type="text" id="name" name="name" class="form-control" placeholder="Внеси го името на сервисот..." required="" autofocus=""/>
7 </p>
8 <p>
9 <label for="location" class="sr-only">Локација на сервис</label>
10 <input type="text" id="location" name="location" class="form-control" placeholder="Внеси локација..." required="" autofocus=""/>
11 </p>
12 <p>
13 <label for="number" class="sr-only">Телефонски број</label>
14 <input type="text" id="number" name="number" class="form-control" placeholder="Внеси телефонски број..." required="" autofocus=""/>
15 </p>
16 <p>
17 Овластен за :
18 <label for="carMId"></label><select id="carMId" class="form-control w-25 d-inline mr-3" required name="carMId">
19 <option th:each="cm : ${manufacturers}"
20 th:text="${cm.getCmname()}"
21 th:value="${cm.getId()}">
22 </option>
23 </select>
24 </p>
25 <button class="btn btn-lg btn-primary btn-block" type="submit">Додај сервис</button>
26 </form>
27</div>
Note: See TracBrowser for help on using the repository browser.