summaryrefslogtreecommitdiff
path: root/view/html/recipe.html
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-02-13 21:16:44 +0100
committerxengineering <me@xengineering.eu>2024-02-15 19:58:03 +0100
commit246687318e03fb649c30c4510e264e65b25ec6da (patch)
treee2cb89e19f68ca0bfaf040d6d6addbda1a470cda /view/html/recipe.html
parentbf0ad86df2e64191f6c430c328fee211ac3affa7 (diff)
downloadceres-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.html1
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>