{% extends "user/user-base.html" %} {% block user_media %} {% include "timezone/media-css.html" %} {{ form.media.css }} {% endblock %} {% block js_media %} {% include "timezone/media-js.html" %} {{ form.media.js }} {% endblock %} {% block title_ruler %}{% endblock %} {% block title_row %} {% set tab = 'edit' %} {% set user = request.profile %} {% include "user/user-tabs.html" %} {% endblock %} {% block body %}
{% if form.errors or form_user.errors %}
x {{ form.errors }}
{{ form_user.errors }}
{% endif %} {% csrf_token %}
{{ _('Fullname') }}: {{ form_user.first_name }}
{{ _('School') }}: {{ form_user.last_name }}
{{ _('Password') }}: {{ _('Change your password') }}
{{ _('Email') }}: {{ request.user.email }} ({{ _('Change email') }})
{{ _('Avatar') }}: {{ form.profile_image }}

{{ _('Self-description') }}:
{{ form.about }}
{{ form.timezone }}
{{ form.language }}
{{ form.ace_theme }}

{% if profile.is_totp_enabled %} {{ _('Two Factor Authentication is enabled.') }} {% if require_staff_2fa and request.user.is_staff %} Disable {% else %} {{_('Disable')}} {% endif %} {% else %} {{ _('Two Factor Authentication is disabled.') }} {{_('Enable')}} {% endif %}


{{ _('CSS background') }}: {{ form.css_background }}
{{form.css_background.help_text}}


{% endblock %}