2022-12-18 16:40:39 +00:00
|
|
|
{% extends "base.html" %}
|
2022-12-18 16:50:03 +00:00
|
|
|
{% block title %}Create a new room{% endblock %}
|
2022-12-18 16:40:39 +00:00
|
|
|
{% block main %}
|
|
|
|
<main class="container">
|
|
|
|
<header>
|
|
|
|
<h1>Create a new room</h1>
|
|
|
|
</header>
|
|
|
|
{% if error %}
|
|
|
|
<p class="notice">{{error}}</p>
|
|
|
|
{% endif %}
|
|
|
|
<p>Give a name to your room. This name will be public and shown in the room list, so nothing offensive! :)</p>
|
|
|
|
<form method="POST">
|
|
|
|
<label for="name">Room name</label>
|
|
|
|
<input type="text" name="name" placeholder="{{order.name}}'s room" required minlength="4" maxlength="64" />
|
|
|
|
<input type="submit" value="Create room" />
|
|
|
|
</form>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
{% endblock %}
|