@section('title', 'Edit User') @push('style') @endpush @push('script') @endpush @section('toolbar') @endsection @csrf Profile Picture profile_picture && Storage::disk('elegant')->exists($user->profile_picture)) style="background-image: url({{ Storage::disk('elegant')->url($user->profile_picture) }})" data-image="{{ Storage::disk('elegant')->url($user->profile_picture) }}" @endif> Set the profile picture. Only *.png, *.jpg and *.jpeg image files are accepted @error('profile_picture') {{ $message }} @enderror Status id == auth()->user()->id) disabled @endif> status == 'active') selected @endif>Active status == 'inactive') selected @endif>Inactive Set the user status. Details Security @if ($user->id != auth()->user()->id) @canany(['user_delete']) Actions @if ($user->id != auth()->user()->id && auth()->user()->can('user_delete')) Delete user @endif @endcan @endif User Details Name @error('name') {{ $message }} @enderror Email @error('email') {{ $message }} @enderror Role @foreach ($roles as $role) roles->first()->id == $role->id)) selected @endif>{{ $role->name_display }} @endforeach @error('role_id') {{ $message }} @enderror User Password @if (auth()->user()->id == $user->id) Current Password @endif Password Confirm Password Cancel Save Changes Please wait...