From 1975f922a7525fc2725808d55a3c7e07849ae93f Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 6 Mar 2024 21:40:16 +0100 Subject: view: Rework /recipe page layout --- view/html/recipe.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/view/html/recipe.html b/view/html/recipe.html index 985a4e1..59ed575 100644 --- a/view/html/recipe.html +++ b/view/html/recipe.html @@ -7,12 +7,14 @@

{{.Title}}

-
{{ if ne .Portions "" }} -

Portions: {{.Portions}}

{{end}}{{ if ne .Url "" }} -

original recipe

{{end}}{{ if ne .Notes "" }} -

{{.Notes}}

{{end}} - - +
+

+ edit + delete +

{{ if ne .Portions "" }} +

Portions: {{.Portions}}

{{end}}{{ if ne .Url "" }} +

Original recipe: link

{{end}}{{ if ne .Notes "" }} +

{{.Notes}}

{{end}}
{{ template "footer" }} -- cgit v1.2.3-70-g09d2