{% extends "base.html" %} {% block content %}

User Administration

Current users:

{% if user_list.count %} {% for user in user_list %} {% endfor %}
Username Full Name Affiliation Actions
{{ user.username }} {{ user.first_name }} {{ user.last_name }} {{ user.get_profile.affiliation }} view/edit, delete{% if user.email %}, email{% endif %}
{% else %} None defined. {% endif %}

Create a new user:

{% csrf_token %} {{ pwd_form.as_p }} {{ user_form.as_p }} {{ userprofile_form.as_p }}
{% endblock %}