diff options
author | xengineering <me@xengineering.eu> | 2024-10-24 17:24:00 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-10-24 20:14:14 +0200 |
commit | 9422e8194245c9cdbfa09b38c20173964349e2a2 (patch) | |
tree | b65f6b8682a97f81309022934c0a230d8481c4d3 /view/html/recipe-confirm-deletion.html | |
parent | dc37aaceea903fcc84144c7566a14b3c5378dcaf (diff) | |
download | ceres-9422e8194245c9cdbfa09b38c20173964349e2a2.tar ceres-9422e8194245c9cdbfa09b38c20173964349e2a2.tar.zst ceres-9422e8194245c9cdbfa09b38c20173964349e2a2.zip |
view: Order ingredient summary by ingredient name
This makes it easier to write a shopping list for the required
ingredients.
Diffstat (limited to 'view/html/recipe-confirm-deletion.html')
-rw-r--r-- | view/html/recipe-confirm-deletion.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/html/recipe-confirm-deletion.html b/view/html/recipe-confirm-deletion.html index 2bc9429..0e51681 100644 --- a/view/html/recipe-confirm-deletion.html +++ b/view/html/recipe-confirm-deletion.html @@ -9,8 +9,8 @@ </header> <main> <p>Do you really want to delete this recipe?</p> - <button onclick="window.location.href='/recipe/{{.Id}}';">cancel</button> - <button onclick="del('/recipe/{{.Id}}')">delete</button> + <button onclick="window.location.href='/recipe/{{.Recipe.Id}}';">cancel</button> + <button onclick="del('/recipe/{{.Recipe.Id}}')">delete</button> </main> {{ template "footer" }} <script src="/static/view/static/ceres.js"></script> |