@if(isset($property->title))
@php $title=$property->title @endphp
@elseif(old('title'))
@php $title=old('title') @endphp
@else
@php $title='' @endphp
@endif
@error('title')
{{ $message }}
@enderror
@if(isset($property->property_type_id))
@php $property_type_id=$property->property_type_id @endphp
@elseif(old('property_type_id'))
@php $property_type_id=old('property_type_id') @endphp
@else
@php $property_type_id=0 @endphp
@endif
@error('property_type_id')
{{ $message }}
@enderror
@if(isset($property->no_of_bedrooms))
@php $no_of_bedrooms=$property->no_of_bedrooms @endphp
@elseif(old('no_of_bedrooms'))
@php $no_of_bedrooms=old('no_of_bedrooms') @endphp
@else
@php $no_of_bedrooms='' @endphp
@endif
@error('no_of_bedrooms')
{{ $message }}
@enderror
@if(isset($property->no_of_bathrooms))
@php $no_of_bathrooms=$property->no_of_bathrooms @endphp
@elseif(old('no_of_bathrooms'))
@php $no_of_bathrooms=old('no_of_bathrooms') @endphp
@else
@php $no_of_bathrooms='' @endphp
@endif
@error('no_of_bathrooms')
{{ $message }}
@enderror
@if(isset($property->sqft))
@php $sqft=$property->sqft @endphp
@elseif(old('sqft'))
@php $sqft=old('sqft') @endphp
@else
@php $sqft='' @endphp
@endif
@error('sqft')
{{ $message }}
@enderror
@if(isset($property->price))
@php $price=$property->price @endphp
@elseif(old('price'))
@php $price=old('price') @endphp
@else
@php $price='' @endphp
@endif
@error('price')
{{ $message }}
@enderror
@if(isset($property->description))
@php $description=$property->description @endphp
@elseif(old('name'))
@php $description=old('description') @endphp
@else
@php $description='' @endphp
@endif
@error('description')
{{ $message }}
@enderror
@if(isset($property->address))
@php $address=$property->address @endphp
@elseif(old('address'))
@php $address=old('address') @endphp
@else
@php $address='' @endphp
@endif
@error('address')
{{ $message }}
@enderror
@error('image')
{{ $message }}
@enderror
@if(isset($property->image) && $property->image!="")
@php $image=asset(Storage::url('public/properties')).'/'.$property->image @endphp
@else
@php $image='' @endphp
@endif
@if($image!="")
@endif