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

List of categories

Note: If you will delete any category,  all posts related to category will be deleted.

@foreach ($categories as $category) @endforeach
Name Color Status Created Date Actions
{{ $category->name }} @if ($category->is_active) Active @else Blocked @endif {{ date('d.m.Y', strtotime($category->created_at)) }}
@endsection