main
Last change
on this file since d5913de 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
|
Rev | Line | |
---|
[84652fb] | 1 | <div>
|
---|
| 2 | <form class="form-signin mt-xl-4" method="post" action="/addCar">
|
---|
| 3 | <h2 class="form-signin-heading mb-3">Додај кола</h2>
|
---|
| 4 | <p>
|
---|
| 5 | <label for="since" class="sr-only">Година на почеток на производство</label>
|
---|
| 6 | <input type="number" id="since" name="since" min="1900" max="2022" class="form-control" placeholder="Внеси година..." required="" autofocus=""/>
|
---|
| 7 | </p>
|
---|
| 8 | <p>
|
---|
| 9 | <label for="till" class="sr-only">Година на крај на производство</label>
|
---|
| 10 | <input type="number" min="1900" max="2022" id="till" name="till" class="form-control" placeholder="Внеси година..." required="" autofocus=""/>
|
---|
| 11 | </p>
|
---|
| 12 | <p>
|
---|
| 13 | <label for="name" class="sr-only">Име на кола</label>
|
---|
| 14 | <input type="text" id="name" name="name" class="form-control" placeholder="Внеси име на кола..." required="" autofocus=""/>
|
---|
| 15 | </p>
|
---|
| 16 | <p>
|
---|
| 17 | <label for="mId">
|
---|
| 18 | <select id="mId" class="form-control d-inline mr-3" required name="mId">
|
---|
| 19 | <option th:each="m : ${manufacturers}"
|
---|
| 20 | th:text="${m.getCmname()}"
|
---|
| 21 | th:value="${m.getId()}">
|
---|
| 22 | </option>
|
---|
| 23 | </select>
|
---|
| 24 | </label>
|
---|
| 25 | </p>
|
---|
| 26 | <button class="btn btn-lg btn-primary btn-block" type="submit">Додај кола</button>
|
---|
| 27 | </form>
|
---|
| 28 | </div> |
---|
Note:
See
TracBrowser
for help on using the repository browser.