From 246687318e03fb649c30c4510e264e65b25ec6da Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 13 Feb 2024 21:16:44 +0100 Subject: view: Add edit view for model.Recipe type --- view/html/recipe-edit.html | 39 +++++++++++++++++++++++++++++++++++++++ view/html/recipe.html | 1 + 2 files changed, 40 insertions(+) create mode 100644 view/html/recipe-edit.html (limited to 'view/html') diff --git a/view/html/recipe-edit.html b/view/html/recipe-edit.html new file mode 100644 index 0000000..d615a7f --- /dev/null +++ b/view/html/recipe-edit.html @@ -0,0 +1,39 @@ +{{define "recipe-edit"}} + + {{ template "head" }} +
+ +

Recipe editor

+
+ +
+
+

+ + +

+ +

+ + +

+ +

+ + +

+ +

+ + +

+ + +
+
+ {{ template "footer" }} + + +{{end}} diff --git a/view/html/recipe.html b/view/html/recipe.html index 30aecb5..c8db391 100644 --- a/view/html/recipe.html +++ b/view/html/recipe.html @@ -12,6 +12,7 @@

Portions: {{.Portions}}

original recipe

{{.Notes}}

+ {{ template "footer" }} -- cgit v1.2.3-70-g09d2