20 lines
569 B
HTML
20 lines
569 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Create a new room{% endblock %}
|
|
{% 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" required minlength="4" maxlength="64" />
|
|
<input type="submit" value="Create room" />
|
|
</form>
|
|
</main>
|
|
|
|
{% endblock %}
|