{% load i18n %}
{% csrf_token %}
{% if user.must_email_be_verified and not profile.email_verified %}
{% blocktrans with email=user.email %}Please enter the activation code sent to you via email to activate your new email address {{ email }}{% endblocktrans %}:
{% for error in email_aform.non_field_errors %}
{{ error }}
{% endfor %}
{% include "gui/form_field.html" with field=email_aform.email_token %}
{% endif %}
{% if profile.must_phone_be_verified and not profile.phone_verified %}
{% blocktrans with phone=profile.phone %}Please enter the activation code sent to you via text message to activate your new phone number {{ phone }}{% endblocktrans %}:
{% for error in phone_aform.non_field_errors %}
{{ error }}
{% endfor %}
{% include "gui/form_field.html" with field=phone_aform.phone_token %}
{% endif %}