@extends('layouts.admin') @section('title', 'Additional sections for '.$entry->title) @section('page_heading', 'Content sections') @section('content') ← Edit {{ $entry->title }} Flexible page builder

Extend {{ $entry->title }} with your own sections.

Create as many sections as you need without developer work. Choose an image, heading, useful copy, layout, optional action, display order and whether visitors can see it. Lower display orders appear first. Every addition is saved through a confirmation dialogue.

Page sections ({{ $sections->count() }})

Preview saved sections ↗
@forelse($sections as $section)
@if($section->image_url)@endif
{{ $section->heading }}

{{ \Illuminate\Support\Str::limit($section->body, 110) }}

{{ $section->published ? 'Published' : 'Draft' }} Order {{ $section->sort_order }} · {{ ucfirst($section->layout) }}
Edit
@csrf @method('DELETE')
@empty

No additional sections yet. Use the editor below to create your first one.

@endforelse
@csrf @if($editing)@method('PUT')@endif

{{ $editing ? 'Edit existing section' : 'Create a new section' }}

Useful paragraphs, not HTML. Content is displayed safely and line breaks are preserved.
@if($editing?->image_url)Current section image@endifOptional · up to 8 MB. An existing image remains until you replace it.
Use a path starting with / or a complete https:// link.
@if($errors->any())@endif
@if($editing)Cancel editing@endif
@endsection