@extends('admin.layouts.app') @section('title', $title) @section('content')

{{ $title }}

@if(request('is_published') || request('search')) Reset @endif
@forelse($pages as $page) @empty @endforelse
ID Title Published Created Action
{{ $page->id }} {{ $page->title }} @if ($page->is_published) Yes @else No @endif {{ $page->created_at->diffForHumans() ?? $page->created_at }}
@csrf @method('DELETE')
No records found.
@if($pages->hasPages())
{{ $pages->links() }}
@endif
@endsection @push('scripts') @endpush