{% extends "base.html" %} {% load i18n %} {% comment %} Copyright 2010 Canonical Ltd. This software is licensed under the GNU Affero General Public License version 3 (see the file LICENSE). {% endcomment %} {% block title %} {% blocktrans %}Personal details{% endblocktrans %} {% endblock %} {% block text_title %}{% trans "Personal details" %}{% endblock %} {% block extra_css %} {% if last_authenticated_sites %} {% endif %} {% endblock %} {% block content %} {% include "common/unverified_email_warning.html" %} {% include "common/missing_backup_device_warning.html" %} {% include "common/printed_codes_nearly_exhausted_warning.html" %}
{% csrf_token %}
{{ form.displayname }} {% if form.displayname.errors %} {{ form.displayname.errors|first }} {% endif %}
{% if form.preferred_email %} {% if form.preferred_email.errors %} {{ form.preferred_email.errors|first }} {% endif %} {{ form.preferred_email }} {% else %} {# Manually added, it will be ignored by the django form #} {% endif %}
{% if not embedded %}

{% trans "Manage email addresses" %}

{% endif %} {% if not readonly %} {% include "widgets/ubuntuone/passwords.html" with edit_account_labels=1 fields=form %} {% endif %}
{% if enable_device_prefs %}
{% trans "Authentication Devices" %}
{{ form.twofactor_required }} {% if form.twofactor_required.errors %} {{ form.twofactor_required.errors|first }} {% endif %}
{{ form.warn_about_backup_device }} {% if form.warn_about_backup_device.errors %} {{ form.warn_about_backup_device.errors|first }} {% endif %}
{% endif %}

{% if not readonly %} {% endif %} {% if token %} {% trans "or" %} {% trans "exit without updating" %} {% endif %}

{% include "widgets/ubuntuone/last_auth_sites.html" %}
{% endblock %}