{% extends "layout.html" %} {% block title %}{% if mode == "edit" %}Edit user '{{ user.name }}'{% else %}Create user{% endif %}{% endblock %} {% block body_class %}plain-page frontpage admin {{ body_class }}{% endblock %} {% block body %}
{% if mode == "edit" %}

{{ user.name }}

Actions:

 

{% endif %}

{% if mode == "edit" %}Edit user '{{ user.name }}'{% else %}Create user{% endif %}

{% if mode != "edit" %}

If you do not enter a password, after creating the account, a link will be generated through which the password may be set by the user.

{% elif not user.password %}

This user has not yet completed their registration and set a password.

{% endif %}
{% for notice in flashes %}

{{ notice|safe }}

{% endfor %}
{% if mode != "edit" %}
{% endif %}
{% endblock %}