@extends('layouts.main_dashboard.app') @section('title', __('dashboard.Edit Mark') @section('page_heading', __('dashboard.Edit Mark')) @section('breadcrumb') @endsection @section('actions') {{ __('dashboard.Back') }} @endsection @section('content')

{{ __('dashboard.Edit Mark') }}

@csrf @method('PUT')
@php $studentMarks = $mark->students->keyBy('student_id'); @endphp @foreach($students as $student) @php $studentMark = $studentMarks->get($student->id); @endphp @endforeach
{{ __('dashboard.Student Name') }} {{ __('dashboard.Mark') }} {{ __('dashboard.Absent') }}
{{ $student->name }} absent ?? false) ? 'checked' : '' }}>
{{ __('dashboard.Cancel') }}
@endsection