@extends('admin.layouts.app') @section('title', 'Edit User') @section('page-title', 'Edit User') @section('page-subtitle', 'Update user account') @section('content')

User Information

@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('phone')

{{ $message }}

@enderror

Change Password (Optional)

Leave blank to keep current password

@error('password')

{{ $message }}

@enderror
@error('department')

{{ $message }}

@enderror
@error('role_id')

{{ $message }}

@enderror
@if($user->avatar)
Current avatar
@endif

Upload profile picture (JPG, PNG, max 2MB)

@error('avatar')

{{ $message }}

@enderror
is_active) ? 'checked' : '' }} class="w-4 h-4 text-primary-600 border-slate-300 rounded focus:ring-primary-500">

User can login and access the system

User Statistics

Member Since

{{ $user->created_at->format('M d, Y') }}

Last Updated

{{ $user->updated_at->format('M d, Y') }}

Status

{{ $user->is_active ? 'Active' : 'Inactive' }}

Cancel
@endsection