@extends('layouts.app')

@section('title', 'Students')

@section('content')
<h1>Students</h1>
<table class="table">
    <thead>
        <tr>
            <th>Name</th>
            <th>Email</th>
            <th>Phone</th>
            <th>Nationality</th>
        </tr>
    </thead>
    <tbody>
        @foreach ($students as $student)
        <tr>
            <td>{{ $student->name }}</td>
            <td>{{ $student->email }}</td>
            <td>{{ $student->phone }}</td>
            <td>{{ $student->nationality }}</td>
        </tr>
        @endforeach
    </tbody>
</table>
@endsection
