@foreach($exist as $student)
{{ $student->reg_no }} {{ $student->first_name.' '.$student->middle_name.' '.$student->last_name }} {!! Form::checkbox('absent_theory[]', $student->student_id, in_array($student->student_id, $absent_theory), ['class' => 'form-control']) !!} {!! Form::number('obtain_mark_theory[]', $student->obtain_mark_theory, ["class" => "form-control border-form","min"=>"0",'step'=>'any']) !!} {!! Form::checkbox('absent_practical[]', $student->student_id, in_array($student->student_id, $absent_practical), ['class' => 'form-control']) !!} {!! Form::number('obtain_mark_practical[]', $student->obtain_mark_practical, ["class" => "form-control border-form","min"=>"0",'step'=>'any']) !!}
@endforeach