From 88107366bce6b7f7c788171a18c40ad102904ff4 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 1 Apr 2023 16:03:49 +0200 Subject: Implement recipe deletion --- data/templates/recipe_confirm_deletion.html | 26 ++++++++++++++++++++++++++ data/templates/recipe_edit.html | 1 + 2 files changed, 27 insertions(+) create mode 100644 data/templates/recipe_confirm_deletion.html (limited to 'data/templates') diff --git a/data/templates/recipe_confirm_deletion.html b/data/templates/recipe_confirm_deletion.html new file mode 100644 index 0000000..08c981d --- /dev/null +++ b/data/templates/recipe_confirm_deletion.html @@ -0,0 +1,26 @@ + + + + + {{ template "head.html" }} + + +
+ +

Delete a recipe

+
+ +
+

Recipe ID: {{.Id}}

+

Do you really want to delete this recipe?

+
+ +
+ + {{ template "footer.html" }} +
+ + diff --git a/data/templates/recipe_edit.html b/data/templates/recipe_edit.html index d622ce1..b35587e 100644 --- a/data/templates/recipe_edit.html +++ b/data/templates/recipe_edit.html @@ -18,6 +18,7 @@
{{.DescriptionMarkdown}}
+ {{ template "footer.html" }} -- cgit v1.2.3-70-g09d2