@extends('layouts.school-portal')

@section('title', 'Students')

@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="mb-0">Students</h2>
                <a href="{{ route('students.create') }}" class="btn btn-primary">
                    <i class="fas fa-plus me-2"></i>Add Student
                </a>
            </div>

            <div class="card">
                <div class="card-body">
                    @livewire('students-table')
                </div>
            </div>
        </div>
    </div>
</div>
@endsection