@extends('layouts.app') @section('content')
@component('components.breadcrumb', [ 'links' => [ ['name' => 'Manage Subjects', 'url' => ''], ['name' => 'Subjects', 'url' => route('sections.index')], ['name' => 'Subject Details', 'url' => ''], ], ]) @endcomponent Back
@include('layouts.partials.toast')
  • Name: {{ $section->name }}
  • Description: {{ $section->description ?? null }}
  • Icon: @if ($section->icon_path) {{ $section->name }} Icon @else {{ $section->name }} Icon @endif
  • Status: {{ $section->is_active ? 'Active' : 'Deactivated' }}
  • Units in Subject:
    @if ($section->skills->isNotEmpty())
      @foreach ($section->skills as $skill)
    • {{ strtoupper(substr($skill->name, 0, 2)) }} {{ $skill->name }} (Status: {{ $skill->is_active ? 'Yes' : 'No' }})
    • @endforeach
    @else No units in this subject. @endif
@endsection