{% load i18n crispy_forms_tags avatar %} {% comment %} Avatar subsection on the settings page. Mirrors the default ``settings-form`` partial but adds ``hx-encoding="multipart/form-data"`` so the file upload is sent as binary. Also shows a live preview of the currently stored avatar via the ``{% avatar %}`` template tag. {% endcomment %}

{{ plugin.title }}

{% avatar request.user size="xl" %}
{% trans "Your avatar is shown next to your name in the top bar and user lists. Clear the field to fall back to your initials." %}
{% csrf_token %} {{ form|crispy }}