@if ($errors->any()) @endif
@csrf @method('PUT') {{-- User Information --}}
Edit User: {{ $user->name }}
Leave password fields empty if you don't want to change the password.
{{-- Images Uploads --}}
@if($user->image)
Avatar
@endif
@if($user->signature)
Signature
@endif
@foreach($roles as $role)
any() && in_array($role->name, $userRoles) ? 'checked' : '' }} {{ $errors->any() && is_array(old('roles')) && in_array($role->name, old('roles')) ? 'checked' : '' }}>
@endforeach
{{-- Mail SMTP Options --}}