@csrf @if (auth()->user()->isSuperAdmin()) {{-- @if (Request::is('admin/users/create')) --}}
{{--
--}} {{-- --}} @if ($errors->has('contractor')) {{ $errors->first('contractor') }} @endif

{{ trans('cruds.user.fields.contractor_helper') }}

{{-- @endif --}} @endif {{--
Dados Gerais
--}}
{{-- NOME --}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif

{{ trans('cruds.user.fields.name_helper') }}

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

{{ trans('cruds.user.fields.email_helper') }}

{{-- PASSWORD --}}
@if ($errors->has('password')) {{ $errors->first('password') }} @endif

{{ trans('cruds.user.fields.password_helper') }}

{{-- TELEFONE --}}
@if ($errors->has('telephone')) {{ $errors->first('telephone') }} @endif

{{ trans('cruds.user.fields.telephone_helper') }}

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

{{ trans('cruds.user.fields.cellphone_helper') }}

{{-- FOTO --}}
has('photo') ? 'has-error' : '' }}"> @if (Request::is('admin/users/create')) Sem foto @else @if (!$user->photo == '') @if (file_exists(public_path('/storage/users/' . $user->uuid . '/' . $user->photo))) @else Sem foto @endif @else Sem foto @endif @endif
@if ($errors->has('photo')) {{ $errors->first('photo') }} @endif

{{ trans('cruds.user.fields.photo_helper') }}

userable_type == 'App\Models\Student') : disabled @endif @endif {{ ($user->active ?? old('active')) == '' ? 'checked' : (($user->active ?? old('active')) == 'on' ? 'checked' : 'unchecked') }}> @if ($errors->has('active')) {{ $errors->first('active') }} @endif

{{ trans('cruds.user.fields.active_helper') }}

{{--
Endereço
@if ($errors->has('zip')) {{ $errors->first('zip') }} @endif

{{ trans('cruds.address.fields.zip_helper') }}

@if ($errors->has('city')) {{ $errors->first('city') }} @endif

{{ trans('cruds.address.fields.city_helper') }}

@if ($errors->has('state')) {{ $errors->first('state') }} @endif

{{ trans('cruds.address.fields.state_helper') }}

@if ($errors->has('district')) {{ $errors->first('district') }} @endif

{{ trans('cruds.address.fields.district_helper') }}

@if ($errors->has('address')) {{ $errors->first('address') }} @endif

{{ trans('cruds.address.fields.address_helper') }}

@if ($errors->has('number')) {{ $errors->first('number') }} @endif

{{ trans('cruds.address.fields.number_helper') }}

@if ($errors->has('complement')) {{ $errors->first('complement') }} @endif

{{ trans('cruds.address.fields.complement_helper') }}

--}}
{{ trans('global.back') }}
@section('scripts') @parent @endsection