{{ __('Cancel') }} @if ($user->role === 'suspended') Suspended @else Active @endif
@csrf
Admin · Editing user #{{ str_pad((string) $user->id, 4, '0', STR_PAD_LEFT) }}

{{ $user->name }}

Workspace: {{ $user->currentWorkspaceRel?->name ?? '—' }} · Joined {{ $user->created_at?->toFormattedDateString() }} @if ($user->email_verified_at) · Verified {{ $user->email_verified_at->diffForHumans() }} @endif

@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
{{ __('Please fix the following:') }}
    @foreach ($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif
@csrf @method('PUT')
01 {{ __('Personal details') }}
{{ __('Used for login and notifications.') }}
{{ __('Upload image') }}
{{ __('PNG/JPG · 200×200 recommended') }}
{{ __('Browse') }}
02 {{ __('Access & role') }}
{{ __('Leave empty if user is a :app admin / staff.', ['app' => \App\Models\SystemSetting::get('app_name', config('app.name', 'WaDesk'))]) }}
03 {{ __('Address & notes') }}
{{-- Country → state → city cascade. JS reads data-value attrs to repopulate dropdowns on load. --}}
Admin reminder: Saving this form will trigger an email to the user if email changes. Audit log will record the edit.
04 {{ __('Danger zone') }} {{ __('irreversible') }}
@csrf
{{ __('Reset password') }}
{{ __('Send reset link via email') }}
@csrf
{{ __('Force logout') }}
{{ __('Revoke all active sessions') }}
@csrf @method('DELETE')
{{ __('Move to trash') }}
{{ __('Recoverable for 30 days') }}