@extends('backend.layouts.app') @section('head') @endsection @section('content')

{{translate('Blogs')}}

@can('add_blog') {{translate('Create Blogs')}} @endcan
@foreach ($blogs as $list) {{-- {{ route('Users.edit', $list->id) }} --}} @endforeach
{{translate( 'ID')}} {{translate('Title')}} {{translate('Category')}} {{translate('short description')}} {{translate('Status')}} {{translate('created at')}} {{translate('updated at')}} {{translate('actions')}}
{{$loop->index + 1}} {{ $list->category->getTranslation('name') }} {{ $list->getTranslation('short_description') ?? 'No Translation' }} @if ($list->status == 1)
{{translate('Active')}}
@else
{{translate('Inactive')}}
@endif
{{$list->created_at->diffForHumans()}} {{$list->updated_at->diffForHumans()}} Edit
@csrf @method('DELETE')
@endsection