@extends('admin.layouts.app') @section('title', 'Edit Property') @section('content')

Edit Property: {{ $property->title }}

@if ($errors->any())
@endif
@csrf @method('PUT')
Format: "3/10" untuk menampilkan "3/10 Committed"
Format: "15 min" or "1h 30m" or "2.5 km"

πŸ—ΊοΈ Map Location

Choose ONE of the following options to display the map:

πŸ“Œ How to get: Go to Google Maps β†’ Search location β†’ Click "Share" β†’ "Embed a map" β†’ Copy the URL from src="..."
Example: https://www.google.com/maps/embed?pb=!1m18!1m12...
β€” OR β€”
Example: -8.6705
Example: 115.2126
πŸ’‘ Tip: Right-click on any location in Google Maps and copy the coordinates (Latitude, Longitude)
@php $facilities = old('facilities', $property->facilities ?? []); if (!is_array($facilities)) $facilities = []; if (count($facilities) == 0) $facilities = [['name' => '', 'description' => '', 'image' => '']]; @endphp @foreach($facilities as $index => $facility)
@if(isset($facility['image']) && $facility['image']) @endif @if(isset($facility['image']) && $facility['image']) @endif
@endforeach
@php $surroundings = old('surroundings', $property->surroundings ?? []); if (!is_array($surroundings)) $surroundings = []; if (count($surroundings) == 0) $surroundings = [['name' => '', 'description' => '', 'image' => '']]; @endphp @foreach($surroundings as $index => $surrounding)
@if(isset($surrounding['image']) && $surrounding['image']) @endif @if(isset($surrounding['image']) && $surrounding['image']) @endif
@endforeach
Text description of who this property is perfect for
@if($property->main_image) Current main image @endif Leave empty to keep current image
@if($property->images && count($property->images) > 0)
@foreach($property->images as $index => $image)
Property image
@endforeach
@endif Select new images to add (will be added to existing images)
Cancel
@endsection