From caa863f358209117260911b88dca65a95948605d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 28 Jul 2022 17:06:49 +0200 Subject: Autocomplete "description" with pre-defined "speeds". --- views/create.pug | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'views') 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") -- cgit v1.2.3