{% include 'nav_bar.html' %}
{% include 'settings/menu_sidebar.html' %}
{% if new_user %}
{% if new_user['edited'] %}
User Edited
{% else %}
User Created
{% endif %}
User: {{new_user['email']}}
Password: {{new_user['password']}}
Hide
{% endif %}
{% if meta['id'] %}Edit{% else %}Create{% endif %} User
Email address
{% if meta['id'] %}
{% else %}
{% endif %} {% if error_mail %}
Please provide a valid email address
{% endif %}
Organisation
{% for org in orgs %} {% if meta['org'] == org['uuid'] %}
{{ org['uuid'] }} - {{ org['name'] }}
{% else %}
{{ org['uuid'] }} - {{ org['name'] }}
{% endif %} {% endfor %}
User Role
{% for role in all_roles %} {% if role == meta['role'] %}
{{role}}
{% else %}
{{role}}
{% endif %} {% endfor %}
2FA OTP
{% if meta['id'] %}Reset{% else %}Set{% endif %} Password
Create Password
Password
Confirm Password
{% if error %}
{{error}}
{% endif %}
Submit
{% include 'settings/block_password_requirements.html' %}