@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('empresa_id'))
{{ $errors->first('empresa_id') }}
@endif
@if ($errors->has('view'))
{{ $errors->first('view') }}
@endif
@if (count($modulesParents)) @include('pages.administracion.users.resources.field-modules', [ 'modules' => $modulesParents, 'old' => isset($model) ? $model->modules->pluck('id')->toArray() : old('modules') ]) @else
Sin registros
No se encontro ningun registro referente a los modulos. Puede entrar aquĆ­ para registrar uno nuevo.
@endif @if ($errors->has('modules'))
{{ $errors->first('modules') }}
@endif