{% extends 'layouts/base.njk' %} {% import 'macros.njk' as macros %} {% set title = 'Account' %} {% set decription = 'Manage your account settings and data.' %} {% block body %}

Personal information

{% if display_email_warning and emails | length <= 0 %} {{ macros.message('warning', 'To avoid losing access to your account, please add an email address.') }} {% endif %} {% for field in user.getPersonalInfoFields() %}

{{ field.name }}: {{ field.value }}

{% endfor %} {% if main_email.email | length > 0 %}

Contact email: {{ main_email.email }} More...

{% endif %}
{% if has_name_component %} {% include 'views/auth/account/name_panel.njk' %} {% endif %} {% if has_password_component %} {% include 'views/auth/account/password_panel.njk' %} {% endif %}

Email addresses

{% for email in emails %} {% if email.id == user.main_email_id %} {% endif %} {% endfor %} {% for email in emails %} {% if email.id != user.main_email_id %} {% endif %} {% endfor %}
Type Address Actions
Main {{ email.email }}
Secondary {{ email.email }}
{{ macros.csrf(getCsrfToken) }}
{{ macros.csrf(getCsrfToken) }}

Add an email address:

{{ macros.field(_locals, 'email', 'email', null, 'Choose a safe email address', 'An email address we can use to identify you in case you lose access to your account', 'required') }} {{ macros.csrf(getCsrfToken) }}
{% endblock %}