diff options
author | xengineering <me@xengineering.eu> | 2023-04-22 20:30:46 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-22 20:30:46 +0200 |
commit | ce20e58eac9432721f281a351d4ebe4f870c9989 (patch) | |
tree | a9e742caf79cc3f4fe9b015eb8c10da8bd93c9ae /data/templates/recipe.html | |
parent | 13542dd8073ee48aa25ef4958fd2b2da5d848092 (diff) | |
download | ceres-ce20e58eac9432721f281a351d4ebe4f870c9989.tar ceres-ce20e58eac9432721f281a351d4ebe4f870c9989.tar.zst ceres-ce20e58eac9432721f281a351d4ebe4f870c9989.zip |
Move delete button from edit page to recipe page
This reduces the number of clicks to delete a recipe.
Diffstat (limited to 'data/templates/recipe.html')
-rw-r--r-- | data/templates/recipe.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/recipe.html b/data/templates/recipe.html index 21a6a15..bec6eb5 100644 --- a/data/templates/recipe.html +++ b/data/templates/recipe.html @@ -27,6 +27,7 @@ {{end}} <a href="/recipe/edit?id={{.Id}}"><button>edit</button></a> + <a href="/recipe/confirm-deletion?id={{.Id}}"><button style="background-color:red">delete</button></a> {{ template "footer.html" }} </main> |