@extends('layouts.admin') @section('title', 'Articles') @section('breadcrumb', 'Articles') @section('content')

Article Management

{{ $articles->total() }} articles total

New Article
{{-- FILTERS --}}
@if($search || $status) Clear @endif
{{-- TABLE --}}
@forelse($articles as $a) @empty @endforelse
# Title Category Author Status Created Actions
{{ $a->id }}
{{ Str::limit($a->title, 60) }}
/{{ $a->slug }}
{{ $a->category ?? '—' }} {{ $a->user?->name ?? '—' }} {{ $a->status }} {{ $a->created_at?->format('d M Y') }}
No articles found.
@if($articles->hasPages())
{{ $articles->links() }}
@endif
@endsection @push('scripts') @endpush