{!! Form::label('name', __('models/locations.fields.name').':') !!}
{!! Form::text('name', null, ['class' => 'form-control']) !!}
{!! Form::label('description', __('models/locations.fields.description').':') !!}
{!! Form::text('description', null, ['class' => 'form-control']) !!}
{!! Form::label('latitude', __('models/locations.fields.latitude').':') !!}
{!! Form::text('latitude', null, ['class' => 'form-control']) !!}
{!! Form::label('longitude', __('models/locations.fields.longitude').':') !!}
{!! Form::text('longitude', null, ['class' => 'form-control']) !!}
{!! Form::label('score', __('models/locations.fields.score').':') !!}
{!! Form::text('score', null, ['class' => 'form-control']) !!}
{!! Form::label('cost_description', __('models/locations.fields.cost_description').':') !!}
{!! Form::text('cost_description', null, ['class' => 'form-control']) !!}
{!! Form::label('access', __('models/locations.fields.access').':') !!}
{!! Form::number('access', null, ['class' => 'form-control']) !!}
{{----}}
{{-- {!! Form::label('icon_type', __('models/locations.fields.icon_type').':') !!}--}}
{{-- {!! Form::text('icon_type', null, ['class' => 'form-control']) !!}--}}
{{--
--}}
{!! Form::label('phone', __('models/locations.fields.phone').':') !!}
{!! Form::text('phone', null, ['class' => 'form-control']) !!}
{!! Form::label('address', __('models/locations.fields.address').':') !!}
{!! Form::text('address', null, ['class' => 'form-control']) !!}
{{----}}
{{-- {!! Form::label('pwps_version', __('models/locations.fields.pwps_version').':') !!}--}}
{{-- {!! Form::text('pwps_version', null, ['class' => 'form-control']) !!}--}}
{{--
--}}
{{----}}
{{-- {!! Form::label('poi_name', __('models/locations.fields.poi_name').':') !!}--}}
{{-- {!! Form::text('poi_name', null, ['class' => 'form-control']) !!}--}}
{{--
--}}
{!! Form::label('parking_type_name', __('models/locations.fields.parking_type_name').':') !!}
{!! Form::text('parking_type_name', null, ['class' => 'form-control']) !!}
{!! Form::label('locale', __('models/locations.fields.locale').':') !!}
{!! Form::text('locale', null, ['class' => 'form-control']) !!}
{!! Form::label('opening_date', __('models/locations.fields.opening_date').':') !!}
{!! Form::date('opening_date', null, ['class' => 'form-control','id'=>'opening_date']) !!}
@push('page_scripts')
@endpush
{!! Form::label('hours', __('models/locations.fields.hours').':') !!}
{!! Form::text('hours', null, ['class' => 'form-control']) !!}
{!! Form::label('access_restrictions', __('models/locations.fields.access_restrictions').':') !!}
{!! Form::select('access_restrictions', ['CUSTOMERS_ONLY' => 'CUSTOMERS_ONLY', 'GUESTS_ONLY' => 'GUESTS_ONLY', 'EMPLOYEES_ONLY' => 'EMPLOYEES_ONLY', 'STUDENTS_ONLY' => 'STUDENTS_ONLY', 'RESIDENTS_ONLY' => 'RESIDENTS_ONLY'], null, ['class' => 'form-control custom-select']) !!}
{!! Form::label('parking_attributes', __('models/locations.fields.parking_attributes').':') !!}
{!! Form::select('parking_attributes', ['PULL_THROUGH' => 'PULL_THROUGH', 'PULL_IN' => 'PULL_IN', 'TRAILER_PARKING' => 'TRAILER_PARKING', 'TRAILER_FRIENDLY' => 'TRAILER_FRIENDLY', 'GARAGE' => 'GARAGE', 'HANDICAPPED' => 'HANDICAPPED', 'WHEELCHAIR_ACCESS' => 'WHEELCHAIR_ACCESS', 'ILLUMINATED' => 'ILLUMINATED'], null, ['class' => 'form-control custom-select']) !!}
{{--region_id--}}
{!! Form::label('amenity_ids', __('models/locations.fields.amenity_ids').':') !!}
{!! Form::select('amenity_ids[]', \App\Models\Admin\Amenity::pluck('name','id')->toArray(), isset($location)?$location->amenities->pluck('id')->toArray():null, ['multiple'=>'multiple','class' => 'form-control form-select '. ($errors->has('amenity_ids')?' is-invalid ':'')]) !!}
@if ($errors->has('amenity_ids'))
{{ $errors->first('amenity_ids') }}
@endif
{!! Form::label('parking_level', __('models/locations.fields.parking_level').':') !!}
{!! Form::text('parking_level', null, ['class' => 'form-control']) !!}
{!! Form::label('overhead_clearance_meters', __('models/locations.fields.overhead_clearance_meters').':') !!}
{!! Form::text('overhead_clearance_meters', null, ['class' => 'form-control']) !!}
{{----}}
{{-- {!! Form::label('plugshare_location_id', __('models/locations.fields.plugshare_location_id').':') !!}--}}
{{-- {!! Form::text('plugshare_location_id', null, ['class' => 'form-control']) !!}--}}
{{--
--}}