@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