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