{!! Form::label('name', __('models/clients.fields.name').':') !!} {!! Form::text('name', null, ['class' => 'form-control', 'required', 'minlength' => 3, 'maxlength' => 100]) !!}
{!! Form::label('email', __('models/clients.fields.email').':') !!} {!! Form::email('email', null, ['class' => 'form-control', 'required', 'minlength' => 3, 'maxlength' => 255]) !!}
{!! Form::label('password', __('models/clients.fields.password').':') !!} {!! Form::password('password', ['class' => 'form-control', 'minlength' => 6]) !!}
{!! Form::label('car_id', __('models/clients.fields.car_id').':') !!} {!! Form::select('car_id', \App\Models\Admin\Car::pluck('name','id')->toArray(), null, ['class' => 'form-control form-select '. ($errors->has('car_id')?' is-invalid ':'')]) !!} @if ($errors->has('car_id')) {{ $errors->first('car_id') }} @endif
{!! Form::label('photo', __('models/clients.fields.photo').':') !!}
{!! Form::file('photo', ['class' => 'custom-file-input']) !!} {!! Form::label('photo', 'Choose file', ['class' => 'custom-file-label']) !!}
{!! Form::hidden('is_active', 0) !!} {!! Form::checkbox('is_active', 1, null, ['id'=>'is_active','class' => 'custom-control-input']) !!} {!! Form::label('is_active', __('models/clients.fields.is_active').':', ['class' => 'custom-control-label']) !!}