diff options
Diffstat (limited to 'view/html/recipe-ingredient.html')
-rw-r--r-- | view/html/recipe-ingredient.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/view/html/recipe-ingredient.html b/view/html/recipe-ingredient.html new file mode 100644 index 0000000..9ea90be --- /dev/null +++ b/view/html/recipe-ingredient.html @@ -0,0 +1,6 @@ +{{define "recipe-ingredient"}} <p> + <input type="text" placeholder="Amount" value="{{.Amount}}"> + <input type="text" placeholder="Unit" value="{{.Unit}}"> + <input type="text" placeholder="Type" value="{{.Type}}"> + <button type="button" onclick="parentNode.remove();">remove ingredient</button> + </p>{{end}} |