summaryrefslogtreecommitdiff
path: root/views/join.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/join.pug')
-rw-r--r--views/join.pug4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/join.pug b/views/join.pug
index ced1fe3..3110bd3 100644
--- a/views/join.pug
+++ b/views/join.pug
@@ -27,6 +27,7 @@ html
let whitelist = !{ JSON.stringify(whitelist) }
let blacklist = !{ JSON.stringify(blacklist) }
let friends = !{ JSON.stringify(friends) }
+ let limit = !{ !!limit }
let ready = !{ ready }
script(src="/join.js")
body
@@ -36,6 +37,9 @@ html
h1 #{game.title_name}
else
h1 #{game.title_name} - #{game.scenario}
+
+ if limit
+ p.error= limit
p.error#error
div.logo