{% import '_form_macros.html' as macros %} {% if config["REGISTRATION_OPEN"] %}
{{ register_form.csrf_token }}
{{ macros.with_errors(register_form.username, tabindex="4") }}
{{ macros.with_errors(register_form.firstname, tabindex="5") }}
{{ macros.with_errors(register_form.lastname, tabindex="6") }}
{{ macros.with_errors(register_form.mail, tabindex="7") }}
{{ macros.with_errors(register_form.underage, tabindex="8") }}
{% else %}
{{ _("Registration is closed at the moment.") }}
{% endif %}