blob: 3fd22a7a5520debf9fdf819225fab52114dbf72d (
plain)
1
2
3
4
5
6
7
|
{{define "recipe-step"}} <section>
<textarea rows="4" cols="50" placeholder="Step description">{{.Text}}</textarea>
<div>{{range .Ingredients}}
{{ template "recipe-ingredient" . }}{{end}}
</div>
<button type="button" onclick="parentNode.remove();">remove step</button>
</section>{{end}}
|