diff options
Diffstat (limited to 'view/html/recipe.html')
-rw-r--r-- | view/html/recipe.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/view/html/recipe.html b/view/html/recipe.html index acf346f..82b426b 100644 --- a/view/html/recipe.html +++ b/view/html/recipe.html @@ -12,7 +12,10 @@ <p>Portions: {{.Portions}}</p> <p><a href="{{.URL}}">original recipe</a></p> <p>{{.Notes}}</p> - <a href="/recipes/{{.Id}}/edit"><button>edit</button></a> + <a href="/recipes/{{.Id}}/edit"><button>edit</button></a>{{range .Steps}} + <section> + <p>{{.Text}}</p> + </section>{{end}} </main> {{ template "footer" }} </body> |