diff options
author | xengineering <me@xengineering.eu> | 2024-02-13 21:16:44 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-02-15 19:58:03 +0100 |
commit | 246687318e03fb649c30c4510e264e65b25ec6da (patch) | |
tree | e2cb89e19f68ca0bfaf040d6d6addbda1a470cda /view/html/recipe.html | |
parent | bf0ad86df2e64191f6c430c328fee211ac3affa7 (diff) | |
download | ceres-246687318e03fb649c30c4510e264e65b25ec6da.tar ceres-246687318e03fb649c30c4510e264e65b25ec6da.tar.zst ceres-246687318e03fb649c30c4510e264e65b25ec6da.zip |
view: Add edit view for model.Recipe type
Diffstat (limited to 'view/html/recipe.html')
-rw-r--r-- | view/html/recipe.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/html/recipe.html b/view/html/recipe.html index 30aecb5..c8db391 100644 --- a/view/html/recipe.html +++ b/view/html/recipe.html @@ -12,6 +12,7 @@ <p>Portions: {{.Portions}}</p> <p><a href="{{.Url}}">original recipe</a></p> <p>{{.Notes}}</p> + <a href="/recipe/{{.Id}}?edit=true"><button>edit</button></a> </main> {{ template "footer" }} </body> |