@extends('admin.layouts.master') @section('blogDropdown', 'menu-open') @section('blog-post', 'active') @section('title') {{ $data['title'] ?? '' }} @endsection @section('content')

{{ $data['title'] ?? '' }}

Manage {{ $data['title'] ?? '' }}

@if (Auth::user()->can('admin.blog-post.index')) Add New @endif
@if (isset($data['rows']) && count($data['rows']) > 0) @foreach ($data['rows'] as $key => $row) @endforeach @endif
SL Featured Image Post Title Category Date Published Status Action
{{ $key + 1 }} fdsfds {{ $row->title }} {{ $row->category->name }} {{ date('d M Y', strtotime($row->created_at)) }} @if ($row->status == 1) Published @else Unpublished @endif @if (Auth::user()->can('admin.blog-post.index')) View @endif @if (Auth::user()->can('admin.blog-post.index')) Edit @endif @if (Auth::user()->can('admin.blog-post.index')) Delete @endif
@endsection