{% extends 'default.html' %} {% block title %} Setting {% endblock %} {% block default_content %}
{{ form.csrf_token }}

Profile

{{ form.email(class="form-control", value=current_user.email, readonly=pending_email != None) }} {{ render_field_errors(form.email) }} {% if pending_email %}
Pending email change: {{ pending_email }} Resend confirmation email Cancel email change
{% endif %}
{{ form.name(class="form-control", value=current_user.name) }} {{ render_field_errors(form.name) }}
Profile picture
{{ form.profile_picture(class="form-control-file") }} {{ render_field_errors(form.profile_picture) }} {% if current_user.profile_picture_id %} {% endif %}

Change password

{% endblock %}