summaryrefslogtreecommitdiff
path: root/views/create.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-07-23 13:48:12 +0200
committerTor Andersson <tor@ccxvii.net>2024-07-23 14:01:19 +0200
commit34487c1b1920c6a52108a7ed7b390d4b08728ff9 (patch)
tree112890b6ca8a60868c25e6b0ccca80e6d2ee8800 /views/create.pug
parentc52ca4b709a8752d870a9123b46cfd3764c608a7 (diff)
downloadserver-34487c1b1920c6a52108a7ed7b390d4b08728ff9.tar.gz
New join page!
* Remove explicit (and redundant) role=Observer parameter. * Remove old /play/:id redirects. * Show "private" badge on game boxes. * Forbid leave/kick in public games. * Allow "rewind" by owner in public games.
Diffstat (limited to 'views/create.pug')
-rw-r--r--views/create.pug6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/create.pug b/views/create.pug
index 4e52da4..912156c 100644
--- a/views/create.pug
+++ b/views/create.pug
@@ -13,6 +13,8 @@ html
div.logo
+gamecover(title.title_id)
+ if limit
+ p.error= limit
if !user
p.error You are not logged in!
@@ -77,9 +79,7 @@ html
input(type="checkbox" name="is_private" value="true")
| Private
- if limit
- p.error= limit
- else
+ if !limit
p
button(type="submit") Create