//- vim:ts=4:sw=4:
doctype html
html
head
include head
title= title.title_name
style.
form { margin-left: 200px; width: calc(50rem - 200px); }
body
include header
article
h1= title.title_name
div.logo
+gamecover(title.title_id)
form(method="post" action="/create/"+title.title_id)
if scenarios.length > 1
p Scenario:
br
select(name="scenario")
each scenario in scenarios
option(value=scenario)= scenario
else
input(type="hidden" name="scenario" value=scenarios[0])
| !{ title.create_html }
p Notice:
br
input(type="text" autocomplete="off" name="notice" size=50 placeholder="What are you looking for?")
p
label
input(type="checkbox" name="is_random" value="true")
| Random player roles
p
label
input(type="checkbox" name="is_private" value="true")
| Private
if limit
p.error= limit
else
p
button(type="submit") Create