{% extends 'layouts/base.njk' %} {% set title = 'Example App - Hello world!' %} {% block scripts %} {% endblock %} {% block body %}

Register

Username

{{ macros.field(_locals, 'text', 'username', null, 'Choose your username', 'This cannot be changed later.', 'pattern="[0-9a-z_-]+" required') }}

Email

{{ macros.field(_locals, 'checkbox', 'create_email', null, 'Create an email address') }}
@ {{ macros.field(_locals, 'select', 'domain', null, 'Choose your domain', null, 'disabled', ['toot.party']) }}
{{ macros.fieldError(_locals, 'email') }}
You won't be able to change this again.

Recovery email

{{ macros.field(_locals, 'email', 'recovery_email', null, 'Your email address', 'Optional') }}

Password

{{ macros.field(_locals, 'password', 'password', null, 'Choose a password', null, 'required') }} {{ macros.field(_locals, 'password', 'password_confirmation', null, 'Confirm your password', null, 'required') }}
{{ macros.field(_locals, 'checkbox', 'terms', null, 'I accept the terms of services', null, 'required') }} {{ macros.csrf(getCSRFToken) }}
{% endblock %}