Ignore:
Timestamp:
01/06/23 02:51:45 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
d4b888e
Parents:
1bd8d1e
Message:

Added full functionality for creating order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/deliveryForPart.html

    r1bd8d1e rf484b14  
    1313  </form>
    1414  <h3>Достава до овластен сервис</h3>
     15  <h1 th:if="${hasError}" th:text="${error}"></h1>
     16  <div th:if="${!hasError}">
    1517  <form class="form-signin mt-xl-5" method="post" action="/part/repairshopdelivery">
    1618    <p>
    17       <label for="repairShop" class="sr-only">Избор на овластен сервис</label>
    18       <select id="repairShop" required name="name">
    19         <option  th:each="rs : ${repairShops}"
    20                  th:text="${rs.getName()}"
    21                  th:value="${rs.getId()}">
     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()}">
    2225        </option>
    2326      </select>
    2427    </p>
    25     <button class="btn btn-lg btn-primary btn-block" type="submit">Достава до сервис</button>
     28    <button class="btn btn-lg btn-primary btn-block" type="submit">Следно</button>
    2629  </form>
     30  </div>
    2731</main>
    2832
Note: See TracChangeset for help on using the changeset viewer.