Add support for select

This commit is contained in:
Crow Crowcrow 2018-05-02 18:04:48 +02:00
parent 61a7dbbe03
commit 1771eeb338
Signed by: Crow
GPG key ID: 45A8E203AF859FD8
3 changed files with 131 additions and 89 deletions

View file

@ -32,6 +32,14 @@
<input name="skill_level" type="number" value="{{ .SkillLevel }}">
</group>
{{ end }}
<select multiple name="checklist">
<option selected value="Milk">Milk</option>
<option value="Eggs">Eggs</option>
</select>
<select name="animal">
<option value="Dog" selected>Dog</option>
<option value="Cat">Cat</option>
</select>
</group>
{{ end }}
{{ end }}