@extends('layouts.master')

@section('title')
    عرض تحضيرات متدربي  @isset($classRoom->name)
        {{ $classRoom->name }}
        @endisset في درس @isset($lesson->title)
        {{ $lesson->title }}
    @endisset
@endsection

@section('first-css')
@endsection

@section('content-body')
    <!--**********************************
                                        Content body start
                                    ***********************************-->
    @include('massages')

    <!-- row -->
    <div class="container-fluid container-fluid-traning bg-white">
        <!--**********************************Tabs Start***********************************-->
        @if(Auth::user()->role == 0)
        <div class="d-flex flex-wrap align-items-start justify-content-start  mb-3">
            <a href="{{ route('subscribers_crete', [$classRoom->id]) }}" class="btn btn-primary  me-1">
                <i class="mdi mdi-plus-circle ms-2"></i>اضافة طلاب للدورة 
            </a>
        </div>
        @endif
        <!--**********************************Tabs End***********************************-->
        <div class="row">
            <div class="col-xl-12 tab-content">
                @include('attendances.tables.all')
            </div>
        </div>
    </div>

    <!--**********************************
                                        Content body end
                            ***********************************-->
@endsection
@section('script')
@endsection
