@if(session()->has('impersonator_id'))
    <div class="alert alert-warning rounded-0 mb-0 d-flex justify-content-between align-items-center">
        <div>
            <i class="mdi mdi-account-switch me-2"></i>
            You are impersonating another user
        </div>

        <form method="POST" action="{{ route('admin.users.stop-impersonation') }}">
            @csrf
            <button class="btn btn-sm btn-outline-dark">
                Exit Impersonation
            </button>
        </form>
    </div>
@endif