From fec2fea87615e6ee3a6e73f7f98e021eee1b7098 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 12 May 2024 20:38:24 +0200 Subject: view: Use HTML template to add recipe steps This makes the JS function way simpler and removes a duplication of the step HTML code. --- view/html/recipe-step.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'view/html/recipe-step.html') diff --git a/view/html/recipe-step.html b/view/html/recipe-step.html index 96fbb48..8008d9c 100644 --- a/view/html/recipe-step.html +++ b/view/html/recipe-step.html @@ -1,6 +1,4 @@ -{{define "recipe-step"}} -
+{{define "recipe-step"}}
-
-{{end}} +
{{end}} -- cgit v1.2.3-70-g09d2