@foreach($rows as $i => $row)
$name) ? $application->$name: '') == $row->id) ? 'checked' : '' }} {!! $validation ?? '' !!} required> @if($row->id == 0 && !empty($other)) @endif @if($i+1 == count($rows))
{{ $errors->first($name, ':message') }}
@endif
@endforeach