{% extends shell('app') %} {% block title %}{{ _('My account') }}{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}

{{ _('My account') }}

{% with messages = get_flashed_messages(with_categories=true) %} {% for category, message in messages %} {% endfor %} {% endwith %}
{{ form.hidden_tag() }}
{{ form.email.label(class="form-label fw-semibold") }} {{ form.email(class="form-control", autocomplete="username") }} {% for error in form.email.errors %}
{{ error }}
{% endfor %}
{% if confirms_addresses %}{{ _('The address you sign in with. A new one needs your current password, and applies when you follow the link we mail to it.') }}{% else %}{{ _('The address you sign in with. A new one needs your current password.') }}{% endif %}
{% if user.pending_email %}
{{ _('Waiting for %(email)s to be confirmed. Follow the link we mailed to it.', email=user.pending_email) }}
{% endif %}

{{ _('Change your password') }}

{{ form.current_password.label(class="form-label fw-semibold") }} {{ form.current_password(class="form-control", autocomplete="current-password") }}
{{ form.current_password.description }}
{% for error in form.current_password.errors %}
{{ error }}
{% endfor %}
{{ form.new_password.label(class="form-label fw-semibold") }} {{ form.new_password(class="form-control", autocomplete="new-password") }}
{{ form.new_password.description }}
{% for error in form.new_password.errors %}
{{ error }}
{% endfor %}
{{ form.confirm_password.label(class="form-label fw-semibold") }} {{ form.confirm_password(class="form-control", autocomplete="new-password") }} {% for error in form.confirm_password.errors %}
{{ error }}
{% endfor %}
{{ form.submit(class="btn btn-primary") }}

{{ _('Sessions') }}

{{ confirm_form.hidden_tag() }}

{{ _('Signed in on a computer you no longer use, or lost a device? This closes every session of your account except this one, and forgets every "Remember me".') }}

{% endblock %}