From f07c1c71dbcec3ee89a337b84697c138b9a16365 Mon Sep 17 00:00:00 2001 From: FyloZ Date: Mon, 9 Mar 2020 23:42:41 -0400 Subject: [PATCH] =?UTF-8?q?Correction=20d'un=20bug=20d'affichage=20dans=20?= =?UTF-8?q?le=20cr=C3=A9ateur=20de=20produit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/material/creator.html | 17 +++++---- .../resources/templates/material/edit.html | 37 +++++++++++-------- 2 files changed, 32 insertions(+), 22 deletions(-) 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" + > - +