{% extends 'preferences/layout.html' %} {% load i18n %} {% block title %}{% trans "Edit Profile" %}{% endblock %} {% block header %} {% trans "Edit Profile" %} {% endblock %} {% block profile-tabs %} {% endblock %} {% block panel %} {% if form.non_field_errors %}

{{ form.non_field_errors }}

{% endif %}
{% csrf_token %}

{% trans "Profile" %}

{% if request.user.avatar %}
{% include 'snippets/avatar.html' with user=request.user large=True %}
{% endif %}
{{ form.avatar }} {% for error in form.avatar.errors %}

{{ error | escape }}

{% endfor %}
{{ form.name }} {% for error in form.name.errors %}

{{ error | escape }}

{% endfor %}
{{ form.summary }} {% for error in form.summary.errors %}

{{ error | escape }}

{% endfor %}
{{ form.email }} {% for error in form.email.errors %}

{{ error | escape }}

{% endfor %}

{% trans "Display preferences" %}

{% url 'directory' as path %}

{% blocktrans %}Your account will show up in the directory, and may be recommended to other BookWyrm users.{% endblocktrans %}

{{ form.preferred_timezone }}

{% trans "Privacy" %}

{{ form.default_post_privacy }}
{% endblock %}