@extends('layouts.app') @section('content')
{{-- 🩵 Header --}}

Edit Student

Back
@csrf @method('PUT') {{-- 🧑 Linked User Dropdown (only active student users) --}}
Select an active user with the student role. @error('user_id')
{{ $message }}
@enderror
{{-- 🧾 Editable Username (from linked user) --}}
Updating this will also change the linked user’s username. @error('username')
{{ $message }}
@enderror
{{-- ✏️ Full Name --}}
@error('name')
{{ $message }}
@enderror
{{-- 🪪 National ID --}}
@error('national_id')
{{ $message }}
@enderror
{{-- 👨‍👩 Father’s Name --}}
@error('father_name')
{{ $message }}
@enderror
{{-- ☎️ Phone --}}
@error('phone')
{{ $message }}
@enderror
{{-- 🏫 Institute ID (read-only) --}}
This ID is system-assigned and cannot be changed.
{{-- ⚙️ Status --}}
@error('status')
{{ $message }}
@enderror
{{-- 🎓 Batch --}}
You can reassign the student to a different batch anytime. @error('batch_id')
{{ $message }}
@enderror
{{-- ✅ Actions --}}
View Profile
@endsection