@extends('layouts.app')
@section('title', 'Create Section')
@section('content')
{{-- ============================================================
Page Header
============================================================ --}}
Create Section
Add a new section under an active school class.
All Sections
{{-- ============================================================
Validation Summary
============================================================ --}}
@if($errors->any())
Please correct the following information.
@foreach($errors->all() as $error)
-
{{ $error }}
@endforeach
@endif
{{-- ============================================================
Empty Class Warning
============================================================ --}}
@if($schoolClasses->isEmpty())
No active classes available
A section must belong to an active class. Create or activate a class before adding sections.
@can('school-classes.create')
Create Class
@endcan
@endif
{{-- ============================================================
Create Form
============================================================ --}}
@endsection
@push('scripts')
@endpush