@extends('admin.layouts.app') @section('title', 'Edit ' . $entity->name) @section('content')
@php $backUrl = ($place->is_workspace && !empty($meta['section'])) ? route('admin.explore-braj.section', [$place, $meta['section']]) : route('admin.places.index'); $publicUrl = $meta['path'] ? route('frontend.explore.entity', [$place->slug, $meta['path'], $entity->slug]) : null; @endphp
← Back to {{ $place->name }} {{ $meta['label'] }}

Edit {{ $entity->name }}

{{ $meta['singular'] }} of {{ $place->name }} · place_id = {{ $place->id }} (FK enforced)

@if($entity->isPubliclyVisible()) View Public → @endif
@if($errors->any())
@endif
@csrf @method('PUT') {{-- ============ BASIC INFORMATION ============ --}}

Basic Information

URL: /explore/{{ $place->slug }}/{{ $meta['path'] }}/<slug> (unique)

@include('admin.partials._rich_text', [ 'name' => 'description', 'label' => 'Description (rich text — headings, lists, links)', 'value' => old('description', $entity->description), ])
{{-- ============ LOCATION ============ --}}

Location

{{-- ============ MEDIA ============ --}}

Media

@if($entity->image) {{ $entity->name }} @endif

jpg/png/webp, max 2 MB — the old image is deleted when you upload a new one

{{-- ============ PUBLISHING ============ --}}

Publishing

Lower number = higher up

is_active) ? 'checked' : '' }} class="w-4 h-4 rounded border-gray-600 bg-slate-50 text-brand-gold focus:ring-brand-gold">
is_featured) ? 'checked' : '' }} class="w-4 h-4 rounded border-gray-600 bg-slate-50 text-brand-gold focus:ring-brand-gold">

Featured = higher in the list + star (this is not Nearby). Only Published + Active appears publicly.

{{-- ============ SEO ============ --}}

SEO

If left blank, the title/meta name is generated from {{ $place->name }}.

@endsection