@extends('layouts.main') @section('title') {{ __('Add Property') }} @endsection {{-- --}} @section('page-title')

@yield('title')

@endsection @section('content') {!! Form::open(['route' => 'property.store', 'data-parsley-validate', 'id' => 'myForm', 'files' => true]) !!}

{{ __('Details') }}


{{-- Category --}}
{{ Form::label('category', __('Category'), ['class' => 'form-label col-12 ']) }}
{{-- Title --}}
{{ Form::label('title', __('Title'), ['class' => 'form-label col-12 ']) }} {{ Form::text('title', '', [ 'class' => 'form-control ', 'placeholder' => __('Title'), 'required' => 'true', 'id' => 'title', ]) }}
{{-- Slug --}}
{{ Form::label('slug', __('Slug'), ['class' => 'form-label col-12 ']) }} {{ Form::text('slug', '', [ 'class' => 'form-control ', 'placeholder' => __('Slug'), 'id' => 'slug', ]) }} {{ __("Only Small English Characters, Numbers And Hypens Allowed") }}
{{-- Description --}}
{{ Form::label('description', __('Description'), ['class' => 'form-label col-12 ']) }} {{ Form::textarea('description', '', [ 'class' => 'form-control mb-3', 'rows' => '5', 'id' => '', 'required' => 'true', 'placeholder' => __('Description') ]) }}
{{-- Property Type --}}
{{ Form::label('', __('Property Type'), ['class' => 'form-label col-12 ']) }} {{-- For Sell --}}
{{ Form::radio('property_type', 0, null, [ 'class' => 'form-check-input', 'id' => 'property_type', 'required' => true, 'checked' => true ]) }} {{ Form::label('property_type', __('For Sell'), ['class' => 'form-check-label']) }}
{{-- For Rent --}}
{{ Form::radio('property_type', 1, null, [ 'class' => 'form-check-input', 'id' => 'property_type', 'required' => true, ]) }} {{ Form::label('property_type', __('For Rent'), ['class' => 'form-check-label']) }}
{{-- Duration --}}
{{ Form::label('Duration', __('Duration For Price'), ['class' => 'form-label col-12 ']) }}
{{-- Price --}}
{{ Form::label('price', __('Price') . '(' . $currency_symbol . ')', ['class' => 'form-label col-12 ']) }} {{ Form::number('price', '', [ 'class' => 'form-control mt-1 ', 'placeholder' => trans('Price'), 'required' => 'true', 'min' => '1', 'id' => 'price', 'max' => '1000000000000' ]) }}

{{ __('SEO Details') }}


{{-- SEO Title --}}
{{ Form::label('title', __('Title'), ['class' => 'form-label text-center']) }}
0
{{-- SEO Image --}}
{{ Form::label('image', __('Image'), ['class' => 'form-label']) }}
{{-- SEO Description --}}
{{ Form::label('description', __('Description'), ['class' => 'form-label text-center']) }}
0
{{-- SEO Keywords --}}
{{ Form::label('keywords', __('Keywords'), ['class' => 'form-label']) }} (add comma separated keywords)

{{ __('Near By Places') }}


@foreach ($facility as $key => $value)
{{ Form::checkbox($value->id, $value->name, false, ['class' => 'form-check-input', 'id' => 'chk' . $value->id]) }} {{ Form::label('description', $value->name, ['class' => 'form-check-label']) }} {{ Form::number('facility' . $value->id, '', [ 'class' => 'form-control mt-3', 'placeholder' => trans('Distance').' ('.$distanceValue.')', 'id' => 'dist' . $value->id, 'min' => 0, 'max' => 99999999.9, 'step' => '0.1' ]) }}
@endforeach

{{ __('Facilities') }}


{{ Form::hidden('category_count[]', $category, ['id' => 'category_count']) }} {{ Form::hidden('parameter_count[]', $parameters, ['id' => 'parameter_count']) }} {{ Form::hidden('facilities[]', $facility, ['id' => 'facilities']) }} {{ Form::hidden('parameter_add', '', ['id' => 'parameter_add']) }}

{{ __('Location') }}


{{ Form::label('city', __('City'), ['class' => 'form-label col-12 ']) }} {!! Form::hidden('city', '', ['class' => 'form-control ', 'id' => 'city']) !!} {{-- {{ Form::text('city', '', ['class' => 'form-control ', 'placeholder' => 'City', 'id' => 'city', 'required' => true]) }} --}}
{{ Form::label('country', __('Country'), ['class' => 'form-label col-12 ']) }} {{ Form::text('country', '', ['class' => 'form-control ', 'placeholder' => 'Country', 'id' => 'country', 'required' => true]) }}
{{ Form::label('state', __('State'), ['class' => 'form-label col-12 ']) }} {{ Form::text('state', '', ['class' => 'form-control ', 'placeholder' => 'State', 'id' => 'state', 'required' => true]) }}
{{ Form::label('latitude', __('Latitude'), ['class' => 'form-label col-12 ']) }} {!! Form::text('latitude', '', ['class' => 'form-control', 'id' => 'latitude', 'step' => 'any', 'readonly' => true, 'required' => true, 'placeholder' => trans('Latitude')]) !!}
{{ Form::label('longitude', __('Longitude'), ['class' => 'form-label col-12 ']) }} {!! Form::text('longitude', '', ['class' => 'form-control', 'id' => 'longitude', 'step' => 'any', 'readonly' => true, 'required' => true, 'placeholder' => trans('Longitude')]) !!}
{{ Form::label('address', 'Client Address', ['class' => 'form-label col-12 ']) }} {{ Form::textarea('client_address', system_setting('company_address') ?? "", [ 'class' => 'form-control ', 'placeholder' => 'Client Address', 'rows' => '4', 'id' => 'client-address', 'autocomplete' => 'off', 'required' => 'true', ]) }}
{{ Form::label('address', __('Address'), ['class' => 'form-label col-12 ']) }} {{ Form::textarea('address', '', [ 'class' => 'form-control ', 'placeholder' => 'Address', 'rows' => '4', 'id' => 'address', 'autocomplete' => 'off', 'required' => 'true', ]) }}

{{ __('Images') }}


{{-- Title Image --}}
{{ Form::label('title-image', __('Title Image'), ['class' => 'form-label']) }}
{{-- 3D Image --}}
{{ Form::label('three-d-images', __('3D Image'), ['class' => 'form-label']) }}
{{-- Gallery Images --}}
{{ Form::label('gallary-images', __('Gallery Images'), ['class' => 'form-label']) }}
{{-- Documents --}}
{{ Form::label('documents', __('Documents'), ['class' => 'form-label ']) }}
{{-- Video Link --}}
{{ Form::label('video_link', __('Video Link'), ['class' => 'form-label']) }} {{ Form::text('video_link', isset($list->video_link) ? $list->video_link : '', [ 'class' => 'form-control ', 'placeholder' => 'Video Link', 'id' => 'address', 'autocomplete' => 'off', ]) }}

{{ __('accessibility') }}


   
{!! Form::close() !!} @endsection @section('script') @endsection