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

{{ $title }}

@if(request('category_id') || request('status')) Reset @endif
@if($posts->isEmpty()) @else @foreach($posts as $post) @endforeach @endif
ID Title Status Published On Actions
No records found.
{{ $post->id }} {{ $post->title }} @if($post->status == 'published') Published @elseif($post->status == 'draft') Draft @else Archived @endif {{ $post->published_at }}
@csrf @method('DELETE')
@if($posts->hasPages())
{{ $posts->links() }}
@endif
@endsection @push('scripts') @endpush