{{-- Messagens da session --}} @include('partials.session-message')
{{ isset($user) ? $user->name : '-' }}

{{ isset($user) ? $user->username : '-' }}

@if (isset($user)) @endif

Usuário

DADOS CADASTRAIS

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('cellphone')) {{ $errors->first('cellphone') }} @endif

Acesso

@if ($errors->has('username')) {{ $errors->first('username') }} @endif
@if ($errors->has('admin')) {{ $errors->first('admin') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('password2')) {{ $errors->first('password2') }} @endif
@if(isset($user)) @include('partials.upload', ['model' => $user]) @endif

Empresas

LIBERAÇÃO DE ACESSO

@if (isset($user)) @csrf @foreach($empresas as $empresa)
empresas->contains($empresa->idempresa) ? 'checked' : '' }} />

@endforeach @endif
@include('partials.upload-js') @include('layouts.footers.auth.footer')