From 34880a0194f66e2b1808b45abfb01497d4816aaf Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 15 May 2024 19:39:17 +0200 Subject: view: Require text for steps It does not make sense to add empty steps. --- view/html/recipe-step.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/html/recipe-step.html b/view/html/recipe-step.html index 13c0bb7..13c0de0 100644 --- a/view/html/recipe-step.html +++ b/view/html/recipe-step.html @@ -1,5 +1,5 @@ {{define "recipe-step"}}
- +
{{range .Ingredients}} {{ template "recipe-ingredient" . }}{{end}}
-- cgit v1.2.3-70-g09d2