summaryrefslogtreecommitdiff
path: root/components/add_action_form.html
blob: 70403dcf1d2d80d7ed76966b65a0b5fe51b58521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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}}