Content documents

{{ $document->exists ? $document->title : 'Create content document' }}

Edit every frontend field below. JSON is retained only as an emergency advanced tool.

@if ($document->exists)
@csrf Create independent copy
@csrf @method('DELETE') Delete
@endif
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if ($document->exists && $document->placements->count() > 1)
Shared document. Changes affect all {{ $document->placements->count() }} placements.
@endif
@csrf @if ($document->exists) @method('PUT') @endif

Document

@foreach ($types as $type) @endforeach

Frontend content

Switches take effect when this document is saved.

Advanced JSON (emergency use only)

Normal editing should be performed with the controls above.