diff options
author | xengineering <me@xengineering.eu> | 2023-04-08 22:13:03 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-08 22:13:03 +0200 |
commit | bb8be468855d520bb2bf474657fbcfb3387bcc0a (patch) | |
tree | 0d5ace4083c7dab041a74d6c0184cb825738799a | |
parent | f49ef61b9aeadf22a43b728c6b348f09b6c29804 (diff) | |
download | ceres-bb8be468855d520bb2bf474657fbcfb3387bcc0a.tar ceres-bb8be468855d520bb2bf474657fbcfb3387bcc0a.tar.zst ceres-bb8be468855d520bb2bf474657fbcfb3387bcc0a.zip |
Fix links
-rw-r--r-- | data/templates/recipe.html | 2 | ||||
-rw-r--r-- | data/templates/recipe_confirm_deletion.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/recipe.html b/data/templates/recipe.html index 972a8bf..348a44d 100644 --- a/data/templates/recipe.html +++ b/data/templates/recipe.html @@ -16,7 +16,7 @@ <main> {{.Html}} - <a href="./recipe/edit?id={{.Id}}"><button>edit</button></a> + <a href="/recipe/edit?id={{.Id}}"><button>edit</button></a> {{ template "footer.html" }} </main> diff --git a/data/templates/recipe_confirm_deletion.html b/data/templates/recipe_confirm_deletion.html index 08c981d..f19901c 100644 --- a/data/templates/recipe_confirm_deletion.html +++ b/data/templates/recipe_confirm_deletion.html @@ -19,7 +19,7 @@ <form action="/recipe/confirm-deletion?id={{.Id}}" method="POST"> <button style="background-color:red" type="submit">delete</button> </form> - <a href="/recipe?id={{.Id}}"><button>cancel</button></a> + <a href="/recipe/edit?id={{.Id}}"><button>cancel</button></a> {{ template "footer.html" }} </main> </body> |