{% extends "useradmin/base.html" %} {% block extra_tab_account %} {% if account %}
  • Account Details
  • {% endif %} {% endblock %} {% block content %} {% if account %}

    Editing account "{{ account.name }}" (#{{ account.id }})

    {% else %}

    Create new account

    {% endif %} {% if account_form %}
    {% if account.ext_sync %} {% endif %} {{ account_form }}
    Login {{ account.login }}
    External {{ account.ext_sync|default:"None" }}
    {% endif %} {% if account %} {% if not account.is_system_account %}

    Delete account

    {% endif %}

    Organizations

    {% if account.organizations.all %} {% else %}

    Not member of any organizations.

    {% endif %} {% if org_form %}
    {{ org_form.organization.errors }}

    {{ org_form.organization }}

    {% endif %}

    Group memberships

    {% if account.accountgroup_set.all %} {% else %}

    Not member of any groups.

    {% endif %} {% if group_form %}
    {{ group_form.group.errors }}

    {{ group_form.group }}

    {% endif %} {% if current_user_data.is_admin and not current_user_data.sudoer %} {% ifnotequal current_user_data.account.id account.id %}

    Switch user

    {% endifnotequal %} {% endif %} {% endif %} {% endblock %}