@extends('admin.master') @section('title','Headline List') @section('body')

{{ session('message') }}

Back {{-- ✅ Post ID এর জায়গায় Title --}} @foreach($headlines as $headline) {{-- ✅ এখানে post title show হবে --}} @endforeach
SL TitleStatus Update Delete
{{ $loop->iteration }}{{ $headline->post->title ?? 'Post Not Found' }} @if($headline->status == 1) Active @else Inactive @endif
@csrf
@csrf @method('DELETE')
@endsection