{% extends "base.html" %} {% block title %}Register{% endblock %} {% block content %} {# The mark (docs/backgrounds.md ยง2): brand only, no data. #} {% include "backdrop.html" %}

Register {% if first %}the first account becomes the administrator{% else %}registration is {{ mode }}{% endif %}

{% if let Some(e) = error %}

{{ e }}

{% endif %} {% if !first && mode == "closed" %}

Registration is closed. Ask an administrator for an account.

{% else %}
{% if !first && mode == "invite" %}{% endif %}
{% if !providers.is_empty() %} {% let verb = "Sign up" %}{% let suffix = provider_query.as_str() %}{% include "signin_buttons.html" %}{% endif %}
{% endif %} {% endblock %}