{% extends "base.html" %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
{# ── Account Status card (edit mode only, not own account) ── #}
{% if user and user.id != current_user.id %}
Account Status:
{{ 'Active' if user.active else 'Disabled' }}
{% if user.active %}
Disabling this account will immediately prevent the user from logging in.
{% else %}
This account is currently disabled — the user cannot log in.
{% endif %}