@extends('backend.master') @section('title') {{ @$data['title'] }} @endsection @section('content')
{{-- bradecrumb Area S t a r t --}} {{-- bradecrumb Area E n d --}}
@csrf @method('PUT')
@error('class')
{{ $message }}
@enderror
@error('section')
{{ $message }}
@enderror
@error('status')
{{ $message }}
@enderror
{{ ___('common.add') }} {{ ___('academic.Subject & Teacher') }}
@foreach ($data['all_subject_assign'] as $key=>$item) @endforeach
{{ ___('academic.subject') }} @if ($errors->any()) @if ($errors->has('subjects.*')) {{ 'The fields are required' }} @endif @endif {{ ___('academic.teacher') }} @if ($errors->any()) @if ($errors->has('teachers.*')) {{ 'The fields are required' }} @endif @endif
@if ($data['assignSubjects'][$key] == 0) @endif
@endsection