@include('Partials.sidebar') @include('Partials.header') Edit Location › Locations › Edit @if(session('success')) {{ session('success') }} × @endif @if($errors->any()) @foreach($errors->all() as $error) {{ $error }} @endforeach × @endif Edit Location @csrf @method('PUT') {{-- Project --}} Project * — Select Project — @foreach($projects as $project) project_id == $project->id ? 'selected' : '' }}> {{ $project->project_name }} @endforeach {{-- Place Name with Autocomplete --}} Place Name * Start typing — select from suggestions to auto-fill coordinates {{-- Latitude --}} Latitude * {{-- Longitude --}} Longitude * {{-- Location Image --}} Location Image @if($location->location_image) Current: @endif {{ $location->location_image ? 'Replace Image' : 'Choose Image' }} PNG, JPG, SVG — max 10MB @if($location->location_image) · Leave empty to keep current @endif {{-- Map Picker --}} Adjust on Map — type place name above, click map, or drag the marker Update Location Cancel @include('Partials.footer')