From b5b72880a0b6e9f188b532c9b2ad360ff1dab2ea Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 13 May 2024 21:51:43 +0200 Subject: view: Add HTML for editing recipe ingredients --- view/html/recipe-ingredient.html | 6 ++++++ view/html/recipe-step.html | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 view/html/recipe-ingredient.html (limited to 'view') diff --git a/view/html/recipe-ingredient.html b/view/html/recipe-ingredient.html new file mode 100644 index 0000000..9ea90be --- /dev/null +++ b/view/html/recipe-ingredient.html @@ -0,0 +1,6 @@ +{{define "recipe-ingredient"}}

+ + + + +

{{end}} diff --git a/view/html/recipe-step.html b/view/html/recipe-step.html index 8008d9c..3fd22a7 100644 --- a/view/html/recipe-step.html +++ b/view/html/recipe-step.html @@ -1,4 +1,7 @@ {{define "recipe-step"}}
- +
{{range .Ingredients}} +{{ template "recipe-ingredient" . }}{{end}} +
+
{{end}} -- cgit v1.2.3-70-g09d2