source: src/main/resources/templates/currentOrder.html@ 9dcbf44

main
Last change on this file since 9dcbf44 was 7d43957, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Added functionalities

  • Property mode set to 100644
File size: 752 bytes
RevLine 
[7d43957]1<div>
2 <h1 th:if="${hasError}" th:text="${error}"></h1>
3 <div th:if="${!hasError}">
4 <h3 th:text="${order.getUser().getUsername()}"></h3>
5 <table>
6 <thead>
7 <tr>
8 <th>Name</th>
9 <th>Manufacturer</th>
10 </tr>
11 </thead>
12 <tbody>
13 <tr th:each="part : ${parts}">
14 <td th:text="${part.getName()}"></td>
15 <td th:text="${part.getManufacturer().getName()}"></td>
16 </tr>
17 </tbody>
18 </table>
19 <form th:action="@{'/part/delivery/'}">
20 <button class="btn btn-primary btn-block btn-lg" type="submit">Испрати нарачка</button>
21 </form>
22 </div>
23</div>
Note: See TracBrowser for help on using the repository browser.