summaryrefslogtreecommitdiff
path: root/view/recipe.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-03-03 15:11:53 +0100
committerxengineering <me@xengineering.eu>2024-03-03 16:44:54 +0100
commitbee8b4cc59fd24fc1b924a6160b8eaa221405aeb (patch)
treeea77d0f9fa8ff4a14700427a15af722b12f0abee /view/recipe.go
parentb19326df6f372f9dd8f218d0c5b4d2d8b4d4fc35 (diff)
downloadceres-bee8b4cc59fd24fc1b924a6160b8eaa221405aeb.tar
ceres-bee8b4cc59fd24fc1b924a6160b8eaa221405aeb.tar.zst
ceres-bee8b4cc59fd24fc1b924a6160b8eaa221405aeb.zip
view: Provide recipe deletion
Diffstat (limited to 'view/recipe.go')
-rw-r--r--view/recipe.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/recipe.go b/view/recipe.go
index c488481..0b545d9 100644
--- a/view/recipe.go
+++ b/view/recipe.go
@@ -32,6 +32,7 @@ func RecipeRead(w http.ResponseWriter, r *http.Request) {
valid_templates := []string{
"recipe",
"recipe-edit",
+ "recipe-confirm-deletion",
}
for _, v := range valid_templates {
if template == v {