@extends('layouts.app') @php($editing = $student->exists) @section('title', $editing ? 'Edit Student' : 'Enroll Student') @section('subtitle', $editing ? 'Update the student file' : 'Create a student account and enrolment') @section('content') Cancel
@csrf @if ($editing) @method('PUT') @endif

Personal details

@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
Minimum 8 characters. Share the password with the student after enrolment.

Enrolment

@error('admission_date')
{{ $message }}
@enderror
Cancel
@endsection