@extends('admin.layouts.app') @section('title', __('admins')) @section('content') @if ($errors->any())
@endif @if(session()->has('message'))
{{ session()->get('message') }}
@endif

Posts

{{ __("Add") }}
@foreach( $posts as $key => $post ) {{-- --}} @endforeach
# Image Title visibility Is Approved Status Created At Action
{{$post->id}}
@if(Storage::disk('public')->exists('posts/'.$post->image))
@else
@endif
{{$post->title}} {{$post->view_count}} {{$post->is_approved == true ? 'Approved' : 'Pending '}} {{$post->status == true ? 'Published' : 'Pending'}} {{$post->created_at}}
@if($post->is_approved == false) @endif Edit Delete
@endsection @push('scripts') @endpush