summaryrefslogtreecommitdiff
path: root/components/add_action_form.html
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-03-30 08:47:08 +0300
committerGrailFinder <wohilas@gmail.com>2024-03-30 08:47:08 +0300
commitfe5d588e2b32db1d079bc81cdac0857e535c0222 (patch)
tree22d997a10d50ce9ccac7eb8665c3d29bb05200ed /components/add_action_form.html
parent4ea04ef5b382b147d789240ef78dc24bd142df95 (diff)
Enha: actionform
Diffstat (limited to 'components/add_action_form.html')
-rw-r--r--components/add_action_form.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/components/add_action_form.html b/components/add_action_form.html
new file mode 100644
index 0000000..70403dc
--- /dev/null
+++ b/components/add_action_form.html
@@ -0,0 +1,18 @@
+{{define "actionform"}}
+<div id="actionform">
+ <h1>Add action</h1>
+ <form method="POST">
+ <label>Name:</label><br />
+ <input type="text" name="name"><br />
+ <label>Magnitude:</label><br />
+ <input type="number" value="1" name="magnitude"><br />
+ <label>Repeatable:</label><br />
+ <input type="checkbox" name="repeatable"></input><br />
+ <input type="radio" name="act_type" value="plus" checked>
+ <label for="plus">Plus</label>
+ <input type="radio" name="act_type" value="minus">
+ <label for="minus">Minus</label><br>
+ <input type="submit">
+ </form>
+</div>
+{{end}}