{% if not user.is_current_user and not user.is_last_admin %}
{% if not user.is_active %}
{% else %}
{% endif %}
{% endif %}
{% if not user.is_current_user and not user.is_last_admin %}
{% if user.password_change_required %}
Password Change Required
{% else %}
{% endif %}
{% endif %}
{% if not user.is_current_user and not user.is_last_admin %}
{% endif %}
{% endfor %}
{% else %}
No users found.
{% endif %}
{% set base_url = root_path + '/admin/users/partial' %}
{% set hx_target = '#users-list-container' %}
{% set hx_indicator = '#users-loading' %}
{% set hx_swap = 'outerHTML' %}
{% set table_name = 'users' %}
{% set query_params = {} %}
{% autoescape false %}
{% include 'pagination_controls.html' %}
{% endautoescape %}