@push('css') {{-- Select2 --}} @endpush
{{ isset($user) ? 'Editar usuário' : 'Novo usuário' }}
@if(isset($user)) #{{ $user->id }} @endif
@if(isset($user)) {{ $user->status }} @endif
@include('partials.session-message')

Dados do Usuário

{{-- Nome --}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{-- Email --}}
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
{{-- Username --}}
@if ($errors->has('username')) {{ $errors->first('username') }} @endif
{{-- Tipo --}}
@if (Auth::user()->tenant->is_admin_tenant) {{-- Tipo de Pessoa --}}
@endif

Alterar Senha

{{-- Senha --}}
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
{{-- Confirmar Senha --}}
@include('partials.status', ['model' => $user ?? null])
@if(isset($user))
@include('partials.upload', ['model' => $user])
@endif
@push('js') @include('partials.upload-js') @endpush {{-- @TODO: criar mascaras --}}