@extends('admin.admin_dashboard') @section('admin')

*Blog with the higher priority number appears first

{{-- --}}
@foreach ($blog as $key=> $item) @endforeach
Sl Blog Image Blog Name Blog Priority Blog Date Blog URL Status Action
{{ $key+1 }} {{ $item->blog_name }} {{ $item->blog_priority }} {{ $item->blog_day }} / {{ $item->blog_month }} / {{ $item->blog_year }} {{ $item->blog_url }} @if($item->status == 1) Active @else Deactivated @endif @if($item->status == 1) @if (Auth::user()->can('home.blog.deactivate')) @endif @else @if (Auth::user()->can('home.blog.activate')) @endif @endif @if (Auth::user()->can('home.blog.edit')) Edit @endif @if (Auth::user()->can('home.blog.delete')) Delete @endif
Sl Blog Image Blog Name Blog Priority Blog Date Blog URL Status Action
@endsection