@extends('admin.layouts.app') @section('title',$category->name) @section('page-title',$category->name) @section('content')
@include('admin.partials.icon', ['name' => 'edit']) Edit
@csrf @method('DELETE')
@include('admin.partials.icon', ['name' => 'back']) Back

Details

Name
{{ $category->name }}
Slug
{{ $category->slug }}
Parent
{{ $category->parent?->name ?: '—' }}
Status
{{ $category->is_active ? 'Active' : 'Inactive' }}

Skills ({{ $category->skills->count() }})

@include('admin.partials.icon', ['name' => 'plus']) Add skill
@forelse($category->skills as $skill)
{{ $skill->name }}
@empty

No skills in this category.

@endforelse
@if($category->children->isNotEmpty())

Subcategories

@foreach($category->children as $child)
{{ $child->name }}
@endforeach
@endif
@endsection