@extends('layouts.admin') @section('title', 'News Management') @section('content')

News Management

@can('create news') Create News Article @endcan

Manage your news articles

News Articles

@forelse($news as $article) @empty @endforelse
ID Image Title Author Date Reading Time Actions
{{ $article->id }} @if($article->image) {{ $article->title }} @else @endif {{ $article->title }}
{{ Str::limit($article->short_description, 50) }}
{{ $article->author->name }} {{ $article->formatted_date }} {{ $article->reading_time }}
No news articles found
{{ $news->links() }}
@endsection