From bee8b4cc59fd24fc1b924a6160b8eaa221405aeb Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 3 Mar 2024 15:11:53 +0100 Subject: view: Provide recipe deletion --- view/html/recipe-confirm-deletion.html | 21 +++++++++++++++++++++ view/html/recipe.html | 1 + 2 files changed, 22 insertions(+) create mode 100644 view/html/recipe-confirm-deletion.html (limited to 'view/html') diff --git a/view/html/recipe-confirm-deletion.html b/view/html/recipe-confirm-deletion.html new file mode 100644 index 0000000..7e839cb --- /dev/null +++ b/view/html/recipe-confirm-deletion.html @@ -0,0 +1,21 @@ +{{define "recipe-confirm-deletion"}} + + + {{ template "head" }} +
+ +

Delete a recipe

+
+ +
+

Do you really want to delete this recipe?

+ + +
+ {{ template "footer" }} + + + +{{end}} diff --git a/view/html/recipe.html b/view/html/recipe.html index 43bbb2e..7b1a70d 100644 --- a/view/html/recipe.html +++ b/view/html/recipe.html @@ -14,6 +14,7 @@

original recipe

{{.Notes}}

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