@extends('layout.side-menu') @section('subcontent')

{{ $model->name }}

@csrf @method('PUT')
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('rut'))
{{ $errors->first('rut') }}
@else {{--
--}} {{-- Lorem Ipsum is simply dummy text of the printing and typesetting industry. --}} {{--
--}} @endif
{{--
@php $gender = old('gender') ? old('gender') : $model->gender; @endphp @if ($errors->has('gender'))
{{ $errors->first('gender') }}
@endif
--}}
@if ($errors->has('password'))
{{ $errors->first('password') }}
@endif
active) ? 'checked' : '' }} class="{{ $errors->has('active') ? 'input input--switch border error' : 'input input--switch border' }}"> @if ($errors->has('active'))
{{ $errors->first('active') }}
@endif
@if ($errors->has('rol'))
{{ $errors->first('rol') }}
@endif
@if ($errors->has('empresas'))
{{ $errors->first('empresas') }}
@endif
{{--
@if ($errors->has('permissions'))
{{ $errors->first('permissions') }}
@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
@endsection