{% extends "zerver/portico_signup.html" %} {% set entrypoint = "register" %} {# Gather other user information, after having confirmed their email address. Form is validated both client-side using jquery-validate (see signup.js) and server-side. #} {% block portico_content %}
{% if creating_new_team %}

{{ _('Create your organization') }}

{% else %}

{{ _('Create your account') }}

{% endif %} {% trans %}

You’re almost there! We just need you to do one last thing.

{% endtrans %}
{{ csrf_input }}
{% if creating_new_team %}
{% if form.realm_name.errors %} {% for error in form.realm_name.errors %}

{{ error }}

{% endfor %} {% endif %}
{{ _('Shorter is better than longer.') }}
{% if root_domain_available %} {% endif %}
{{ _('OR') }}

{% if form.realm_subdomain.errors %} {% for error in form.realm_subdomain.errors %}

{{ error }}

{% endfor %} {% endif %}
{{ _("The URL users will use to access the new organization.") }}
{% endif %}
{% if creating_new_team %} {{ _('Your account') }} {% endif %} {% if realm_name and not creating_new_team %}
{{ realm_name }}
{{ realm_uri }}
{% endif %}
{{ email }}
{% if accounts %}
{% endif %}
{% if lock_name %}

{{ full_name }}

{% else %} {% if form.full_name.errors %} {% for error in form.full_name.errors %}

{{ error }}

{% endfor %} {% endif %} {% endif %}
{% if require_ldap_password %}
{{ _('Enter your LDAP/Active Directory password.') }}
{% elif password_required %}
{% if full_name %} {{ _('This is used for mobile applications and other tools that require a password.') }} {% endif %} {% if form.password.errors %} {% for error in form.password.errors %}

{{ error }}

{% endfor %} {% endif %}
{% endif %}
{% if default_stream_groups %}

{{ _('What are you interested in?') }}

{% for default_stream_group in default_stream_groups %}
{% endfor %}

{% endif %}
{% if terms_of_service %}
{# This is somewhat subtle. Checkboxes have a name and value, and when the checkbox is ticked, the form posts with name=value. If the checkbox is unticked, the field just isn't present at all. This is distinct from 'checked', which determines whether the checkbox appears at all. (So, it's not symmetric to the code above.) #} {% if form.terms.errors %} {% for error in form.terms.errors %}

{{ error }}

{% endfor %} {% endif %}
{% endif %} {% if corporate_enabled %}
{% endif %}
{% endblock %}