@extends('admin.layout.app') @section('content')

Sections

{{ $sections->isEmpty() ? 'Add New' : 'Add Another' }} {{-- Bulk Import Button triggers Modal --}}
{{-- Section Filters --}}
@if(request('school_id') || request('standard_id')) Reset @endif
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{!! session('error') !!}
@endif {{-- Bulk Import Modal --}} {{-- End Bulk Import Modal --}}
@forelse ($sections as $key => $section) @empty @endforelse
# School Name Standard Section Name Action
{{ $key + 1 }} {{ $section->school->name ?? '-' }} {{ $section->standard->name ?? '-' }} {{ $section->section_name ?? '-' }}
@csrf @method('DELETE')
No sections found.
@if(method_exists($sections, 'links'))
{{ $sections->links('pagination::bootstrap-4') }}
@endif
@endsection