{% extends "access_django_user_admin/base_nav_full.html" %} {% load i18n %} {% load account socialaccount %} {% load static %} {% load user_admin_tags %} {% block title %}Add New User{% endblock %} {% block content %}

Add User

Create a Django user account for an ACCESS user

{% if messages %} {% endif %}
{% csrf_token %} {% if form.errors %}
Please correct the errors below.
{% endif %}
Account Information
{% if form.username.errors %}
{{ form.username.errors }}
{% endif %}
Personal Information
{% if form.first_name.errors %}
{{ form.first_name.errors }}
{% endif %}
{% if form.last_name.errors %}
{{ form.last_name.errors }}
{% endif %}
{% if form.email.errors %}
{{ form.email.errors }}
{% endif %}
Permissions

Toggle to add user Permissions

Designates whether this user is active.
Policy: Rather than delete a user, toggle off Active.
{% if request.user.is_staff %}
Designates whether the user can log into the Django admin app.
{% endif %}
Groups

Toggle to add user to Groups

{% if user_groups %} {% for group in all_groups %} {% if group in user_groups %}
{% endif %} {% endfor %} {% endif %} {% for group in all_groups %} {% if not user_groups or group not in user_groups %}
{% endif %} {% endfor %} {% if all_groups|length == 0 %}

No groups available.

{% endif %}
Cancel
{% endblock %}