blob: 931ffcfa470201cdcc99dcf6bd46cbe7333da2ec (
plain)
1
2
3
4
5
6
|
{{define "recipe-ingredient"}} <p>
<input class="amount" type="text" 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}}
|