@php $gradients = [ 'from-sky-400 to-blue-600', 'from-emerald-400 to-teal-600', 'from-fuchsia-400 to-purple-600', 'from-rose-400 to-pink-600', 'from-lime-400 to-green-600', 'from-amber-400 to-orange-500', ]; @endphp
@forelse ($this->subjects() as $index => $classSubject) @php $gradient = $gradients[$index % count($gradients)]; @endphp

{{ $classSubject->subject->name }}

{{ trans_choice(':count Chapter|:count Chapters', $classSubject->chapters_count) }} {{ trans_choice(':count Question|:count Questions', $classSubject->questions_count) }}
@if ($this->canManageContent())
{{ __('Change order') }} {{ __('Remove') }}
@endif
@empty

{{ __('No subjects attached to this class yet.') }}

@endforelse