{% extends "core/base.jinja" %} {% block title %} {% trans %}Edit user{% endtrans %} {% endblock %} {% block content %}
{{ field.errors }}{{ field.label }} {%- if field.name == "profile_pict" -%} {% trans %}Current profile: {% endtrans %} {% if form.instance.profile_pict %} {% if user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) %} {% trans %}Delete{% endtrans %} {% endif %} {% else %} {% trans %}Take picture{% endtrans %} {% endif %} {%- elif field.name == "avatar_pict" and form.instance.avatar_pict -%} {% trans %}Current avatar: {% endtrans %} {%- elif field.name == "scrub_pict" and form.instance.scrub_pict -%} {% trans %}Current scrub: {% endtrans %} {%- endif %} {{ field }}
{% endif %} {%- elif field.name == "avatar_pict" and form.instance.avatar_pict -%} {% trans %}Current avatar: {% endtrans %} {%- elif field.name == "scrub_pict" and form.instance.scrub_pict -%} {% trans %}Current scrub: {% endtrans %} {%- endif %}
{% trans %}Username: {% endtrans %}{{ form.instance.username }}
{% trans %}Account number: {% endtrans %}{{ form.instance.customer.account_id }}
{% trans %}Change my password{% endtrans %}
{% trans %}Change user password{% endtrans %}