{% extends "pretixcontrol/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block title %}{% trans "Account settings" %}{% endblock %} {% block content %}

{% trans "Account settings" %}

{% csrf_token %} {% bootstrap_form_errors form %}
{% trans "General settings" %} {% bootstrap_field form.fullname layout='horizontal' %} {% bootstrap_field form.locale layout='horizontal' %} {% bootstrap_field form.timezone layout='horizontal' %}
{% if request.user.notifications_send and request.user.notification_settings.exists %} {% trans "On" %} {% else %} {% trans "Off" %} {% endif %}   {% trans "Change notification settings" %}
{% trans "Login settings" %} {% if form.old_pw %} {% bootstrap_field form.old_pw layout='horizontal' %} {% endif %} {% bootstrap_field form.email layout='horizontal' %} {% if form.new_pw %} {% bootstrap_field form.new_pw layout='horizontal' %} {% bootstrap_field form.new_pw_repeat layout='horizontal' %} {% endif %}
{% if user.require_2fa %} {% trans "Enabled" %}   {% trans "Change two-factor settings" %} {% else %} {% trans "Disabled" %}   {% trans "Enable" %} {% endif %}
{% endblock %}