diff options
Diffstat (limited to 'data/templates/recipe_confirm_deletion.html')
-rw-r--r-- | data/templates/recipe_confirm_deletion.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/recipe_confirm_deletion.html b/data/templates/recipe_confirm_deletion.html index d247b13..17c4da8 100644 --- a/data/templates/recipe_confirm_deletion.html +++ b/data/templates/recipe_confirm_deletion.html @@ -14,10 +14,9 @@ </header> <main> - <p>Recipe ID: {{.Id}}</p> <p>Do you really want to delete this recipe?</p> <form action="/recipe/confirm-deletion?id={{.Id}}" method="POST"> - <a href="/recipe/edit?id={{.Id}}"><button type="button">cancel</button></a> + <a href="/recipe?id={{.Id}}"><button type="button">cancel</button></a> <button style="background-color:red" type="submit">delete</button> </form> {{ template "footer.html" }} |