<divclass="head"><h1>Register <small>{% if first %}the first account becomes the administrator{% else %}registration is {{ mode }}{% endif %}</small></h1></div>
8
{% if let Some(e) = error %}<pclass="error">{{ e }}</p>{% endif %}
9
{% if !first && mode == "closed" %}
10
<pclass="empty">Registration is closed. Ask an administrator for an account.</p>
<labelfor="password">Password (at least 10 characters)</label><inputtype="password"id="password"name="password"autocomplete="new-password"requiredminlength="10">
{% if first %}<labelfor="setup">Setup code <small>logged by the server when it started, and in <code>setup-code</code> in its data directory</small></label><inputtype="text"id="setup"name="setup"autocomplete="off"required>{% endif %}