@extends('layouts.app') @section('mobile-title', 'Edit User') @section('mobile-subtitle', $userRecord->name) @section('mobile-back', route('users.index')) @section('content')
arrow_back Back to Team

Edit Team Member

{{ $userRecord->email }}

{{ $userRecord->is_active ? 'Active' : 'Deactivated' }}
@include('users.form')
@if ($userRecord->exists && $transferUsers->isNotEmpty())

Transfer Document Ownership

Moves responsibility for folders and documents to another active user while keeping upload and creation history unchanged.

@csrf
@endif @can('delete', $userRecord)

Delete User

Deletes this user only when they have no created projects, reports, document ownership, or upload history.

@csrf @method('DELETE')
@endcan
@endsection