summaryrefslogtreecommitdiff
path: root/views/create.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-07-28 17:06:49 +0200
committerTor Andersson <tor@ccxvii.net>2022-07-31 01:27:36 +0200
commitcaa863f358209117260911b88dca65a95948605d (patch)
treeb050fe19fa971f310f25bd22f0f169c807137b2a /views/create.pug
parent2c9fa27317879b4adb272645f5f8adf9adc042a0 (diff)
downloadserver-caa863f358209117260911b88dca65a95948605d.tar.gz
Autocomplete "description" with pre-defined "speeds".
Diffstat (limited to 'views/create.pug')
-rw-r--r--views/create.pug10
1 files changed, 9 insertions, 1 deletions
diff --git a/views/create.pug b/views/create.pug
index 0da379b..42d3a46 100644
--- a/views/create.pug
+++ b/views/create.pug
@@ -26,7 +26,15 @@ html
| !{ create_html }
p Description:
br
- input(type="text" autocomplete="off" name="description" size=50)
+ input(type="text" list="speed" autocomplete="off" name="description" size=50)
+ datalist(id="speed")
+ option Async - 1 move per day
+ option Async - x moves per day
+ option Live - America
+ option Live - Europe
+ option Live - Asia
+ option Live - Oceania
+ option Learning game
p
label
input(type="checkbox" name="is_random" value="true")