summaryrefslogtreecommitdiff
path: root/view/html/recipe-ingredient.html
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-05-13 21:51:43 +0200
committerxengineering <me@xengineering.eu>2024-05-13 21:52:48 +0200
commitb5b72880a0b6e9f188b532c9b2ad360ff1dab2ea (patch)
tree492e5b106c3ae55ad07db7c677eb5216b3ef3bc0 /view/html/recipe-ingredient.html
parentbf328dd38a28cf44cfa81c7f1dcd95936d2d0301 (diff)
downloadceres-b5b72880a0b6e9f188b532c9b2ad360ff1dab2ea.tar
ceres-b5b72880a0b6e9f188b532c9b2ad360ff1dab2ea.tar.zst
ceres-b5b72880a0b6e9f188b532c9b2ad360ff1dab2ea.zip
view: Add HTML for editing recipe ingredients
Diffstat (limited to 'view/html/recipe-ingredient.html')
-rw-r--r--view/html/recipe-ingredient.html6
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}}