@extends('layouts.school-portal')

@section('title', 'Edit School Session')

@section('content')
    <div class="container-fluid">
        <div class="row">
            <div class="col-12">
                <div class="d-flex justify-content-between align-items-center mb-4">
                    <h2 class="">Edit School Session</h2>
                    <a href="{{ route('school-sessions.index') }}" class="btn btn-secondary">
                        <i class="fas fa-arrow-left"></i> Back to Sessions
                    </a>
                </div>

                <div class="card">
                    <div class="card-body">
                        <livewire:school-session-form :session-id="$schoolSession->id"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
