{% load i18n %}
{% csrf_token %}
{{ form.email }} {% if form.email.errors %} {{ form.email.errors|join:"" }} {% endif %}
{% include "ubuntuone/registration/_user_intention_radios.html" with selected_form=selected_form %}
{% if form.password.errors %} {{ form.password.errors|join:"" }} {% endif %} {% if not form.oath_token and form.non_field_errors %} {{ form.non_field_errors|join:"" }} {% endif %} {{ form.password }}
{% if form.oath_token %}

{% blocktrans %}Two Factor Authentication{% endblocktrans %}

{{ form.oath_token }} {% if form.oath_token.errors %} {{ form.oath_token.errors|join:"" }} {% endif %} {% if form.non_field_errors %} {{ form.non_field_errors|join:"" }} {% endif %}

{% endif %}
{% if next %}{% endif %}

{% include "common/forgot_password_link.html" %}

{% comment %} {% if token %}{% trans "or" %} {% include "common/cancel_link.html" %}{% endif %} {% endcomment %}