blob: f764c80074c601e5cca5076e64976db4f134046b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<div th:replace="~{common :: head}"></div>
<body>
<div th:replace="~{common :: page-header}"></div>
<div class="indent">
<form method="post" th:action="'/operationProducts/' + ${operationId} + '/edit/'">
<input hidden id="operationId" name="operationId" th:value="${operation.getId()}">
<input hidden id="productId" name="productId" th:value="${product.getId()}">
<p th:text="'Продукт: ' + ${product.getName()}"></p>
<label for="productAmount">Количество:</label>
<input type="text" id="productAmount" name="productAmount" required th:value="${amount}"><br><br>
<input id="saveBtn" type="submit" value="Сохранить" class="btn btn-primary">
</form>
</div>
<div th:replace="~{common :: site-footer}"></div>
<div th:replace="~{common :: site-script}"></div>
<div th:replace="~{common :: editFieldsToggle}"></div>
</body>
</html>
|