diff options
author | xengineering <me@xengineering.eu> | 2023-04-01 16:03:49 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-01 18:21:27 +0200 |
commit | 88107366bce6b7f7c788171a18c40ad102904ff4 (patch) | |
tree | 1477a16e0d4e4b2151c23c0194ed9860fe5a6eb3 /data/templates/recipe_edit.html | |
parent | eec9ddfd687a871880628b4a5e9b3c0541b534e2 (diff) | |
download | ceres-88107366bce6b7f7c788171a18c40ad102904ff4.tar ceres-88107366bce6b7f7c788171a18c40ad102904ff4.tar.zst ceres-88107366bce6b7f7c788171a18c40ad102904ff4.zip |
Implement recipe deletion
Diffstat (limited to 'data/templates/recipe_edit.html')
-rw-r--r-- | data/templates/recipe_edit.html | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ <pre contenteditable="true" id="editor"><code>{{.DescriptionMarkdown}}</code></pre> <button onclick="save()">save</button> <a href="/recipe?id={{.Id}}"><button>cancel</button></a> + <a href="/recipe/confirm-deletion?id={{.Id}}"><button style="background-color:red">delete</button></a> {{ template "footer.html" }} </main> |