@extends('frontend.layouts.app') @section('styles') @endsection @section('content') @include('agent.sidebar') EDIT PROPERTY @csrf @method('PUT') title Title attach_money Price business Floor Area airline_seat_flat Bedroom event_seat Bathroom public State location_city City markunread_mailbox Postcode account_balance {{ $property->address }} Address featured == 1 ? 'checked' : '' }} /> Featured mode_edit {{ $property->description }} Description Property Purpose purpose == 'sale' ? 'checked' : '' }} /> Sale purpose == 'rent' ? 'checked' : '' }} /> Rent Property Type type == 'house' ? 'checked' : '' }} /> House type == 'condo/co-op' ? 'checked' : '' }} /> Condo/Co-op type == 'townhome' ? 'checked' : '' }} /> Townhome type == 'apartment' ? 'checked' : '' }} /> Apartment type == 'multi-family' ? 'checked' : '' }} /> Multi-Family type == 'mobile/manufactured' ? 'checked' : '' }} /> Mobile/Manufactured type == 'other' ? 'checked' : '' }} /> Other Choose Features @foreach($features as $feature) features as $checked) {{ ($checked->id == $feature->id) ? 'selected' : '' }} @endforeach >{{ $feature->name }} @endforeach Select Features Crop Image Close Featured Image @if(Storage::disk('public')->exists('property/'.$property->image) && $property->image ) @else @endif map Latitude map Longitude voice_chat Youtube Link Crop Image Close Floor Plan @if(Storage::disk('public')->exists('property/'.$property->floor_plan) && $property->floor_plan ) @else @endif place {{ $property->nearby }} Nearby @if($property->gallery) @foreach($property->gallery as $gallery) delete_forever @endforeach @endif Upload Gallery Images Upload one or more images Submit send @endsection @section('scripts') @endsection
featured == 1 ? 'checked' : '' }} /> Featured
purpose == 'sale' ? 'checked' : '' }} /> Sale
purpose == 'rent' ? 'checked' : '' }} /> Rent
type == 'house' ? 'checked' : '' }} /> House
type == 'condo/co-op' ? 'checked' : '' }} /> Condo/Co-op
type == 'townhome' ? 'checked' : '' }} /> Townhome
type == 'apartment' ? 'checked' : '' }} /> Apartment
type == 'multi-family' ? 'checked' : '' }} /> Multi-Family
type == 'mobile/manufactured' ? 'checked' : '' }} /> Mobile/Manufactured
type == 'other' ? 'checked' : '' }} /> Other