@extends('layouts.staff_dashboard') @section('title', 'Edit Student') @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
Please fix the following errors:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Student Profile

Edit Student

Update student details for {{ $student->name }} ({{ $student->regno }}).

@if(!empty($departmentName)) {{ $departmentName }} @endif @if(!empty($batchName)) {{ $batchName }} @endif @if(!empty($collegeName)) {{ $collegeName }} @endif
Back to Students
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('regno')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('yoj')
{{ $message }}
@enderror
Cancel
@endsection