{% extends "auth/base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block page_content %}
{% if "manage_user" in request.path %} {% endif %}
{{ form.csrf_token }}
User Account Information
Username and Password
{% if "manage_user" in request.path %}

Change the username and/or password for user {{username}}.

Proceed with caution. This will affect the user's ability to log in.

{% else %}

Enter the username and a temporary password for the user. The user should change this on their first log in.

{% endif %}
{{ wtf.form_field(form.username, class='form-control', placeholder='New Username') }} {% for error in form.username.errors %}
{{ error }}
{% endfor %}
{{ wtf.form_field(form.password, class='form-control', placeholder='Password') }}
{{ wtf.form_field(form.password2, class='form-control', placeholder='Confirm Password') }}
{% for error in form.password.errors %}
{{ error }}
{% endfor %}
User Permissions
User Groups and Roles

Put the user into groups and add roles. Users will be able to see public jobs and projects by default.

You can manage and add groups on the Group Management page.

{% for error in form.roles.errors %}
{{ error }}
{% endfor %} {{ wtf.form_field(form.roles, class='form-control', placeholder='Choose User Roles') }}
{% for error in form.groups.errors %}
{{ error }}
{% endfor %} {{ wtf.form_field(form.groups, class='form-control', placeholder='Choose User Groups') }}
Special User Permissions

Manage the user's special access to projects here. Project managers can also change this information for individual projects.

{% for project in projects %} {% for permission in ["read", "update", "create", "delete", "manage"] %} {% endfor %} {% endfor %}
Project Name read update create delete manage
{{ project["name"] }} {{ form["specialproject_"+project["id"]|string+"_"+permission] }}
User Information
Contact Information for the User

This contact information is not used by the SEAMM dashboard, but should be used by admin in order to contact users.

{% for error in form.first_name.errors %}
{{ error }}
{% endfor %} {{ wtf.form_field(form.first_name, class='form-control', placeholder='First Name') }}
{% for error in form.last_name.errors %}
{{ error }}
{% endfor %} {{ wtf.form_field(form.last_name, class='form-control', placeholder='Last Name') }}
{% for error in form.email.errors %}
{{ error }}
{% endfor %} {{ wtf.form_field(form.email, class='form-control', placeholder='Email Address') }}
{{ wtf.form_field(form.submit, class="btn btn-primary form-control") }}
{% endblock %} {% block scripts %} {% if "manage_user" in request.path %} {% endif %} {% endblock %}