summaryrefslogtreecommitdiff
path: root/view/html/recipe.html
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/html/recipe.html
parentb19326df6f372f9dd8f218d0c5b4d2d8b4d4fc35 (diff)
downloadceres-bee8b4cc59fd24fc1b924a6160b8eaa221405aeb.tar
ceres-bee8b4cc59fd24fc1b924a6160b8eaa221405aeb.tar.zst
ceres-bee8b4cc59fd24fc1b924a6160b8eaa221405aeb.zip
view: Provide recipe deletion
Diffstat (limited to 'view/html/recipe.html')
-rw-r--r--view/html/recipe.html1
1 files changed, 1 insertions, 0 deletions
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 @@
<p><a href="{{.Url}}">original recipe</a></p>
<p>{{.Notes}}</p>
<a href="/recipe/{{.Id}}?view=recipe-edit"><button>edit</button></a>
+ <a href="/recipe/{{.Id}}?view=recipe-confirm-deletion"><button style="background-color:red">delete</button></a>
</main>
{{ template "footer" }}
</body>