@extends('layouts.app') @section('title', 'Edit — ' . $user->name) @section('page-title', 'Edit Staff') @section('content')
Back to {{ $user->name }}
{{-- Profile Details --}}
Profile Details
@csrf @method('PATCH')
Email cannot be changed after account creation.
@error('name')
{{ $message }}
@enderror
+91 @error('mobile')
{{ $message }}
@enderror
@if($user->id === auth()->id())
You cannot change your own role.
@endif @error('role')
{{ $message }}
@enderror
@if($user->id === auth()->id())
You cannot change your own account status.
@endif @error('is_active')
{{ $message }}
@enderror
Cancel
{{-- Change Password --}}
Change Password

Setting a new password will revoke all existing sessions for this account.

@csrf @method('PATCH')
@error('password')
{{ $message }}
@enderror
@endsection @push('scripts') @endpush