@extends('dashboard.layouts.master') @section('css') @endsection @section('breadcrumb')

{{$data['title']}}

@if(request()->status == 'mine' && $data['questions']->count() <= 3) اسحب اسئلة جديدة @endif
@endsection @section('content')
{{--

Buttons example

--}} {{--

The Buttons extension for DataTables--}} {{-- provides a common set of options, API methods and styling to display--}} {{-- buttons on a page that will interact with a DataTable. The core library--}} {{-- provides the based framework upon which plug-ins can built.--}} {{--

--}}
عدد الاسئلة : {{$data['questions']->total()}}
@if($data['questions']->count() > 0)
@foreach($data['questions'] as $i => $question)
{{$question->id}} ({{$question->lecture->title}}) {{$question->statusText()}} ({{$question->admin_id ? $question->admin->name : 'لا يوجد'}})
@foreach($question->replies as $reply) @endforeach
@csrf @method('patch')
    {{--
    --}} {{-- --}} {{-- --}} {{--
    --}}
    is_public) checked @endif value="1"name="is_public" />
    @endforeach
    {!!$data['questions']->withQueryString()->links('pagination::bootstrap-4')!!}
    @else
    There is no Questions to reply
    @endif
    @endsection @section('script') @if(!request()->testnew) @endif @endsection