From c61e45a5a260d9804ebc4f54814edf1e1b471ac3 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 17 May 2024 15:51:45 +0200 Subject: view: Use number input for ingredient amount This accepts only real numbers with a minimum step of 0.001 as input for the amount field of a recipe ingredient. The browser has the chance to give the user direct feedback that a non-numeric string will not work. --- view/html/recipe-ingredient.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/html/recipe-ingredient.html b/view/html/recipe-ingredient.html index 931ffcf..5672eed 100644 --- a/view/html/recipe-ingredient.html +++ b/view/html/recipe-ingredient.html @@ -1,5 +1,5 @@ {{define "recipe-ingredient"}}

- + -- cgit v1.2.3-70-g09d2