@extends('layouts.app') @section('content')
@if(session('success'))
{{ session('success') }}
@endif {{-- Validation Errors --}} @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Update Batch in: {{ $universities->firstWhere('id', $batch->uname)->uname ?? '' }} / {{ $colleges->firstWhere('id', $batch->cname)->cname ?? '' }} / {{ $departments->firstWhere('id', $batch->dept)->dept ?? '' }}

{{-- Optional Back Button --}} Back to Batches
@csrf @method('PUT') {{-- Hidden Fields for University, College, Department --}} {{-- Editable Batch Field --}}
@error('batch')

{{ $message }}

@enderror
{{-- Submit & Cancel --}}
@endsection