diff options
Diffstat (limited to 'view/html/recipe-step.html')
| -rw-r--r-- | view/html/recipe-step.html | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/view/html/recipe-step.html b/view/html/recipe-step.html index 8008d9c..3fd22a7 100644 --- a/view/html/recipe-step.html +++ b/view/html/recipe-step.html @@ -1,4 +1,7 @@  {{define "recipe-step"}}					<section>  						<textarea rows="4" cols="50" placeholder="Step description">{{.Text}}</textarea> -						<button type="button" onclick="parentNode.remove();">remove</button> +						<div>{{range .Ingredients}} +{{ template "recipe-ingredient" . }}{{end}} +						</div> +						<button type="button" onclick="parentNode.remove();">remove step</button>  					</section>{{end}}  | 
