@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 location_city City account_balance {{ $property->address }} Address featured == 1 ? 'checked' : '' }} /> Featured mode_edit {{ $property->description }} Description Property Type type == 'house' ? 'checked' : '' }} /> Sale type == 'apartment' ? 'checked' : '' }} /> Rent Property Purpose purpose == 'sale' ? 'checked' : '' }} /> House purpose == 'rent' ? 'checked' : '' }} /> Apartment Choose Features @foreach($features as $feature) features as $checked) {{ ($checked->id == $feature->id) ? 'selected' : '' }} @endforeach >{{ $feature->name }} @endforeach Select Features Featured Image @if(Storage::disk('public')->exists('property/'.$property->image) && $property->image ) @endif map Latitude map Longitude voice_chat Youtube Link Floor Plan @if(Storage::disk('public')->exists('property/'.$property->floor_plan) && $property->floor_plan ) @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
type == 'house' ? 'checked' : '' }} /> Sale
purpose == 'sale' ? 'checked' : '' }} /> House