{% extends "admin/base.html" %} {% block title %}{{ 'Edit User' if user else 'Invite New User' }}{% endblock %} {% block content %}

{{ 'Edit User: ' ~ user.username if user else 'Invite New User' }}

{% if user %}
{% else %} {# ── Invite form: group + role (optional) ── #}
If selected, the user will be added to this group upon accepting the invite.
The user will receive an email with a link to set their own password.
{% endif %}
Cancel
{% if not user %} {% endif %} {% endblock %}