{% extends "users/base.html" %} {% from "users/includes/notification_macros.html" import notification_fxa_updated %} {% set title = _('Edit Profile') %} {% set classes = 'profile' %} {% set active = 'edit-profile' %} {% if not user_form.errors %} {% set crumbs = [((profile_url(user=profile.user), 'rel="nofollow"'), profile.user.username), (None, title)] %} {% endif %} {% block above_main %} {% if fxa_messages %} {% for message in fxa_messages %} {% if message == 'fxa_notification_updated' %} {{ notification_fxa_updated() }} {% endif %} {% endfor %} {% endif %} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if profile and profile.is_fxa_migrated and request.user == profile.user %}

{{ _('Your Account') }}

{{ user.email }}

{% trans a_open=''|safe, a_close=''|safe %} To change your email or avatar, visit the Mozilla accounts page. {{ a_open }} Learn more. {{ a_close }} {% endtrans %}

{{ _('Manage account') }}

{% endif %}

{{ title }}

{% trans %} Share some things about yourself. Most fields are optional, but they help the community to get to know you better. {% endtrans %}

{% csrf_token %} {{ field(user_form.username) }} {{ field(profile_form.name) }} {{ field(profile_form.bio) }} {% if profile_form.public_email %} {{ checkbox(profile_form.public_email) }} {% endif %} {{ field(profile_form.website) }} {{ field(profile_form.twitter) }} {{ field(profile_form.community_mozilla_org) }} {{ field(profile_form.people_mozilla_org) }} {{ field(profile_form.matrix_handle) }} {{ field(profile_form.country) }} {{ field(profile_form.city) }} {{ field(profile_form.timezone) }} {{ field(profile_form.locale) }} {{ field(profile_form.involved_from) }}
{% if request.user == profile.user %} {% endif %} {% if request.user == profile.user %}
{% csrf_token %}

{{ _('Deleting your account will prevent you from answering or posting questions in Mozilla Support. This action will clear your profile and cannot be undone.') }}

{% trans confirmation_string=delete_account_confirmation %}Please type {{ confirmation_string }} to confirm.{% endtrans %}

{% endif %}
{% endblock %}