@extends('applicant.applications.step-layout') @section('title', 'References') @section('step-title', 'Professional References') @section('step-description', 'Provide details of professional references who can vouch for your qualifications') @section('step-content')
@csrf @method('PUT')

Professional References

Provide at least 3 professional references who can speak to your qualifications, work ethic, and character. Include supervisors, colleagues, or academic mentors.

@php $references = old('references', $formData['references'] ?? []); if (empty($references)) { $references = [[], [], []]; // Start with three empty entries } while (count($references) < 3) { $references[] = []; // Ensure at least 3 references } @endphp @foreach($references as $index => $reference)

Reference {{ $index + 1 }} @if($index < 3)*@endif

@if($index >= 3) @endif
@error("references.{$index}.name")
{{ $message }}
@enderror
@error("references.{$index}.designation")
{{ $message }}
@enderror
@error("references.{$index}.organization")
{{ $message }}
@enderror
@error("references.{$index}.email")
{{ $message }}
@enderror
@error("references.{$index}.phone")
{{ $message }}
@enderror
@error("references.{$index}.relationship")
{{ $message }}
@enderror
@error("references.{$index}.duration")
{{ $message }}
@enderror
@error("references.{$index}.address")
{{ $message }}
@enderror
@error("references.{$index}.context")
{{ $message }}
@enderror
@endforeach

Important: Please ensure you have obtained permission from all references before listing them. The hiring committee may contact them during the evaluation process.

@php $currentStep = 'references'; $previousStep = 'awards'; $nextStep = 'documents'; @endphp @endsection @push('styles') @endpush @push('scripts') @endpush