{% extends "authentic2/base-page.html" %} {% load i18n %} {% load breadcrumbs %} {% block title %} {% trans "Registration" %} {% endblock %} {% block breadcrumbs %} {{ block.super }} {% breadcrumb_url 'Register' %} {% endblock %} {% block content %} {% if users and not create %}

{% trans "Login" %}

{% blocktrans count accounts_number=accounts|length %}An account already exists for this email. Please click on the account name to log in with.{% plural %}More accounts are associated to this email. Please choose the account you want to log in with:{% endblocktrans %}

{% if not email_is_unique %}

{% trans "or" %} {% trans "create a new account" %}

{% endif %} {% else %}

{% trans "Registration" %}

{% trans "Please fill the form to complete your registration" %}

{% csrf_token %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% if form.errors %}
{% for error in form.non_field_errors %} {{ error }} {% endfor %}
{% endif %}
{% if form.password1.help_text %}

{{ form.password1.help_text }}

{% endif %}
{{ form.password1.label_tag }}
{{ form.password1 }} {% for error in form.password1.errors %} {{ error }} {% endfor %}
{{ form.password2.label_tag }}
{{ form.password2 }} {% for error in form.password2.errors %} {{ error }} {% endfor %}
{% endif %} {% endblock %}