@extends("layouts.dashboard") @section("title", "Posts - Dashboard | TechnoBlog") @section("dashboard_content")

List of posts

@foreach ($posts as $post) @endforeach
Image Title Category User Status Confirmed By Actions
{{ $post->title }} {{ $post->category->name }} {{ $post->user->getFullName() }} @if($post->is_confirmed) @if($post->is_active) Active @else Blocked @endif @else Not confirmed yet @endif @if ($post->is_confirmed) {{ $post->getConfirmedBy() }} @else Not confirmed yet @endif @if($post->is_confirmed || $currentUser->hasPermission("confirm_post")) @endif
@endsection