diff options
Diffstat (limited to 'view/html/recipe-confirm-deletion.html')
-rw-r--r-- | view/html/recipe-confirm-deletion.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/html/recipe-confirm-deletion.html b/view/html/recipe-confirm-deletion.html index 74d6ede..7ad08a3 100644 --- a/view/html/recipe-confirm-deletion.html +++ b/view/html/recipe-confirm-deletion.html @@ -9,7 +9,7 @@ <body> <main> <p>Do you really want to delete this recipe?</p> - <a href="/recipe/{{.Id}}"><button type="button">cancel</button></a> + <button onclick="window.location.href='/recipe/{{.Id}}';">cancel</button> <button onclick="del('/recipe/{{.Id}}')" style="background-color:red">delete</button> </main> {{ template "footer" }} |