blob: 5672eed8a99c592607467a7a4891fd704e518cce (
plain)
1
2
3
4
5
6
|
{{define "recipe-ingredient"}} <p>
<input class="amount" type="number" step="0.001" placeholder="Amount" value="{{.Amount}}">
<input class="unit" type="text" placeholder="Unit" value="{{.Unit}}">
<input class="type" type="text" placeholder="Type" value="{{.Type}}" required>
<button type="button" onclick="parentNode.remove();">remove ingredient</button>
</p>{{end}}
|