{{-- Temple tabbed form (create + edit) — same UX pattern as the Place form: ONE
wraps ALL tabs so switching tabs never loses data. Tabs: Basic | Details | Darshan & Aarti | Location | Visitor | Media | SEO | Social | Publishing --}} @php $isEdit = isset($temple) && $temple; $t = $isEdit ? $temple : null; $formAct = $isEdit ? route('admin.temples.update', $t) : route('admin.temples.store'); $kwList = old('keywords', $t?->keywords ?? []); if (! is_array($kwList)) { $kwList = json_decode($kwList ?? '[]', true) ?: []; } $types = \App\Http\Controllers\Admin\TempleController::TEMPLE_TYPES; @endphp
@csrf @if($isEdit) @method('PUT') @endif {{-- TAB 1 — BASIC --}}

Basic Information

Place is required — only published + active places are listed. New published places appear here automatically.

+ Manage / Add Faith

Leave blank to auto-generate. Must be unique across all temples.

{{-- TAB 2 — DETAILS --}}

Introduction

Main article about the temple.

@include('admin.partials._rich_text', ['name' => 'description', 'label' => '', 'value' => old('description', $t?->description)])

History

Verified history only — no invented facts.

@include('admin.partials._rich_text', ['name' => 'history', 'label' => '', 'value' => old('history', $t?->history)])

Religious & Spiritual Significance

@include('admin.partials._rich_text', ['name' => 'significance', 'label' => '', 'value' => old('significance', $t?->significance)])

Traditions & Special Features

@include('admin.partials._rich_text', ['name' => 'traditions', 'label' => '', 'value' => old('traditions', $t?->traditions)])

Festivals & Important Occasions

@include('admin.partials._rich_text', ['name' => 'festivals', 'label' => '', 'value' => old('festivals', $t?->festivals)])
{{-- TAB 3 — DARSHAN --}}

Darshan & Aarti

Enter only verified timings. Leave blank when unknown — blank sections stay hidden publicly.

{{-- TAB 4 — LOCATION --}}

Location & Contact

Fill only verified information. The town comes from the linked Place.

Blank = auto Google-Maps link from coordinates.

Leave blank unless verified. The temple only appears on the map with its own real coordinates — never the town's.

{{-- TAB 5 — VISITOR --}}

Visitor Guidelines

@include('admin.partials._rich_text', ['name' => 'visitor_guidelines', 'label' => '', 'value' => old('visitor_guidelines', $t?->visitor_guidelines)])

Photography & Mobile Rules

Only verified rules.

Community Kitchen / Langar / Bhandara / Bhojanshala Details

Information about community meals, timings, Guru Ka Langar, Bhandara, or Bhojanshala services.

{{-- TAB 6 — MEDIA --}}

Images

Cover, featured and social images. Use only owned or licensed photos.

@if($t?->image)
Cover
@endif
@if($t?->featured_image)
Featured
@endif
{{-- TAB 7 — SEO --}}

SEO Settings

How this temple appears in search results.

{{-- TAB 8 — SOCIAL --}}

Social Sharing

Shown when shared on WhatsApp / Facebook / X. Open Graph + Twitter cards + JSON-LD are automatic.

@if($t?->og_image)
Social
@endif
{{-- TAB 9 — PUBLISHING --}}

Publishing

Only Published + Active temples appear publicly.

Active
Show when published.
Featured
Show first in lists.
Fields marked * are required. Switching tabs keeps everything you typed.
Cancel