{{ __('Editar Usuário') }}

@if(session()->has('error')) @endif
Alterar senha Voltar
@csrf
ativo, $ativo)) id="ativo" type="checkbox" value="{{ $user->ativo }}" name='roles' class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600" >
@if(auth()->user()->checkRole('ADMINISTRADOR'))
@endif
@foreach($roles as $role)
name, $user->checkRole($role->name))) id="checkbox-{{ $role->id }}" type="checkbox" value="{{ $role->id }}" name='roles' class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600" >
@endforeach
{{ __('Salvar') }}
@if($openModal) @endif