{# Shared form fields for room settings. Used by RoomsNew.html and Room.html #} {# Variables: editing (bool), room (dict or none) #} {% set room = room | default(none) %} {% if not editing %}
{% translate %} The room name must only use the following characters: A-Za-z0-9-._ {% endtranslate %}
{% endif %}
{# The field is called "room_sname" to avoid colliding with SessionCreate's "sname" when both are in the same form (Room.html) #}
{% translate %} The session must exist. This can be used to add players to an existing session. The room will be opened immediately. {% endtranslate %}
{% translate %} Insert one label per line of text. Each label must be no longer than 128 characters and only use the following characters: A-Za-z0-9-._ Labels restrict room access to players with matching labels. If no labels are entered, any Access Code will be accepted. {% endtranslate %}
{% translate %} Pre-created player slots can always be claimed regardless of capacity. Use a capacity only to restrict a session from growing beyond a fixed number of players. {% endtranslate %}