summaryrefslogtreecommitdiff
path: root/views/create.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-07-23 21:18:08 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-20 13:56:22 +0200
commit5b665a840bd3193c9be7b21fbe6f66e119e92d74 (patch)
treedb77f95672db121ee608b9ddcd57a2f7434ce5b4 /views/create.pug
parentcb73d0710b0eb84d4f788ff9b1d36ed0b02bf970 (diff)
downloadserver-5b665a840bd3193c9be7b21fbe6f66e119e92d74.tar.gz
New time control.
Diffstat (limited to 'views/create.pug')
-rw-r--r--views/create.pug24
1 files changed, 5 insertions, 19 deletions
diff --git a/views/create.pug b/views/create.pug
index 912156c..d45903e 100644
--- a/views/create.pug
+++ b/views/create.pug
@@ -49,25 +49,11 @@ html
input(type="text" autocomplete="off" name="notice" size=45 placeholder="What are you looking for?")
p Pace:
- br
- label
- input(type="radio" name="pace" value="0" checked)
- | Any
-
- br
- label
- input(type="radio" name="pace" value="1")
- | #{EMOJI_LIVE} Live
-
- br
- label
- input(type="radio" name="pace" value="2")
- | #{EMOJI_FAST} Fast <i>&ndash; many moves per day</i>
-
- br
- label
- input(type="radio" name="pace" value="3")
- | #{EMOJI_SLOW} Slow <i>&ndash; one move per day</i>
+ each text, pace in PACE_TEXT
+ br
+ label
+ input(type="radio" name="pace" value=pace checked=pace===0)
+ | #{PACE_ICON[pace]} #{text}
p
label