@extends('voyager::master') @section('page_title', ($policy->exists ? 'Edit' : 'Add') . ' Policy') @section('css') @stop @section('page_header')

{{ $policy->exists ? 'Edit' : 'Add New' }} Policy

Configure policy metadata, structured multi-block sections, cards, tables, and SEO.

@stop @section('content')
@include('voyager::alerts')
{{ csrf_field() }} @if($policy->exists) {{ method_field('PUT') }} @endif {{-- Hidden JSON storage for all dynamic sections and multi-blocks --}}
{{-- Main Column (Policy Content & Dynamic Multi-Block Section Builder) --}}

Primary Policy Details

/
Direct URL for visitors (e.g. /privacy-policy)
Displays as pill badge above the title
Or enter custom path / URL:
Recommended: High-resolution widescreen forest canopy banner (1920 × 480 or similar). Automatically matches storage/banners/{slug}-banner.* if omitted.
A clear, reassuring introduction introducing the scope of this policy.

Policy Sections & Multi-Block Builder

Build structured policy sections. Each section includes a number, title, icon (via Icons Library), and can contain multiple stacked blocks (Rich Text, Info Cards, Data Tables, Callout Boxes, Hero Summaries, or Custom Templates).

{{-- Dynamically populated via JS --}}

Search Engine Optimization (SEO)

{{-- Sidebar Column (Publish Settings & Attributes) --}}

Publishing & Layout

Displayed in top bar & hero header badge
Controls order in switcher sidebar & footer links

Live Preview Note: Once saved, this policy will be available immediately at:
{{ url('/') }}/{{ $policy->slug ?: 'privacy-policy' }}

Block Types Guide

  • Plain / Rich Text: Standard paragraphs, explanations, legal clauses, bullet points.
  • Info Cards: Highlights key terms or categories in a responsive card grid.
  • Data Table: Formats tabular data such as retention schedules or grievance matrix.
  • Callout Box: Important statutory warnings, 80G tax notices, or security disclaimers.
  • Policy Hero Card: Featured focal block with badge, summary, and bullet points.
  • Custom Template: Advanced block with custom heading, colors, and HTML content.
Cancel
@if($policy->exists) View Live Policy @endif
@stop @section('javascript') @stop