diff --git a/src/main/resources/templates/material/creator.html b/src/main/resources/templates/material/creator.html index 9b04664..9d31e2b 100644 --- a/src/main/resources/templates/material/creator.html +++ b/src/main/resources/templates/material/creator.html @@ -9,7 +9,6 @@
-

@@ -37,7 +36,6 @@
@@ -46,7 +44,7 @@ id="quantity" min="0" name="quantity" - onchange="calculateMilliliters(this.value, this.dataset.unit)" + onchange="calculateMilliliters(this)" required step="0.001" th:value="${material.inventoryQuantity}" @@ -54,7 +52,7 @@ style="margin-right: 10px; width: 50px"> + th:field="*{inventoryQuantity}" required/> @@ -29,10 +26,10 @@
- +
- +
@@ -43,20 +40,26 @@
- +
+ style="margin-right: 10px; width: 50px" + > - +