@php // Client-side open seed — deferred $set (arg 3 = false) never fires /livewire/update. $blank = ['editingId' => null, 'title' => '', 'body' => '', 'show_in_footer' => true, 'status' => true, 'showModal' => true]; @endphp
@forelse ($items as $item) @php $edit = ['editingId' => $item->id, 'title' => (string) $item->title, 'body' => (string) $item->body, 'show_in_footer' => (bool) $item->show_in_footer, 'status' => (bool) $item->status, 'showModal' => true]; @endphp @empty @endforelse
{{ __('Title') }} {{ __('In footer') }} {{ __('Status') }} {{ __('Action') }}
{{ \Illuminate\Support\Str::limit($item->title, 50) }}
/{{ $item->slug }}
@if ($items->hasPages())
{{ $items->links() }}
@endif
@error('title')

{{ $message }}

@enderror
@error('body')

{{ $message }}

@enderror

{{ __('Only safe tags are kept (headings, lists, links, bold…). Scripts and styles are removed automatically.') }}