@php $routePrefix = $routePrefix ?? 'users'; $routeParameters = $routeParameters ?? []; $isPartnerScoped = $isPartnerScoped ?? false; $scopedPartner = $scopedPartner ?? null; $pageTitle = $pageTitle ?? 'Edit User'; $indexRouteName = $indexRouteName ?? ($routePrefix . '.index'); $indexRouteParameters = $indexRouteParameters ?? $routeParameters; @endphp

{{ __($pageTitle) }}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')

Leave blank to keep the current password.

{{ $user->type }}

User role cannot be changed after creation.

@if(in_array($user->type, ['Manager', 'Agent']))
@if ($isPartnerScoped)
{{ $scopedPartner->name }}
@else @endif
@endif
{{ $user->status->value }}

Use the toggle button in the user list to change status.

{{ $user->created_at->format('F d, Y \a\t g:i A') }}
Cancel
@if(in_array($user->type, ['Manager', 'Agent'])) @endif