summaryrefslogtreecommitdiff
path: root/data/templates/recipe_edit.html
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-22 20:30:46 +0200
committerxengineering <me@xengineering.eu>2023-04-22 20:30:46 +0200
commitce20e58eac9432721f281a351d4ebe4f870c9989 (patch)
treea9e742caf79cc3f4fe9b015eb8c10da8bd93c9ae /data/templates/recipe_edit.html
parent13542dd8073ee48aa25ef4958fd2b2da5d848092 (diff)
downloadceres-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_edit.html')
-rw-r--r--data/templates/recipe_edit.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/data/templates/recipe_edit.html b/data/templates/recipe_edit.html
index af9eb88..fc1d74c 100644
--- a/data/templates/recipe_edit.html
+++ b/data/templates/recipe_edit.html
@@ -17,7 +17,6 @@
<pre contenteditable="true" id="editor">{{.Text}}</pre>
<button onclick="save()">save</button>
<a href="/recipe?id={{.Id}}"><button>back</button></a>
- <a href="/recipe/confirm-deletion?id={{.Id}}"><button style="background-color:red">delete</button></a>
{{ template "footer.html" }}
</main>