@php $field = 'block w-full rounded-lg border border-lms-line bg-white px-3.5 py-2.5 text-sm text-lms-ink shadow-sm focus:border-lms-blue focus:outline-none focus:ring-2 focus:ring-lms-blue/20'; @endphp
← Certificates
@if ($errors->any())
{{ $errors->first() }}
@endif
@if ($selectedCourseId)
@csrf
@if ($students->isEmpty())

No eligible students — all enrolled learners already have an active certificate, or nobody is enrolled.

@endif
Cancel
@endif