{% 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 or form_info.errors %}
x {{ form.errors }}
{{ form_info.errors }}
{{ form_user.errors }}
{% endif %} {% csrf_token %}
{{ _('Full name') }}: {{ form_user.first_name }}
{{ _('School') }}: {{ form_user.last_name }}
{{ _('Date of birth') }}: {{ form_info.date_of_birth }}
{{ _('Address') }}: {{ form_info.address }}
{{ _('T-Shirt size') }}: {{ form_info.tshirt_size }}
{{ _('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 %}