@extends('frontend.instructor-dashboard.layouts.master') @section('dashboard-contents')

{{ __('Lesson Questions') }}

@forelse ($lesson_questions as $index => $question)
seen == '0' ? 'checked' : '' }} type="checkbox" title="{{ $question?->seen == '0' ? __('Mark as unread') : __('Mark read') }}" onchange="markAsReadUnread(this,{{ $question->id }})">
{{ $question?->user?->name }}
{{ $question?->user?->name }} {{ formatDate($question?->created_at, 'd M, Y : H:i') }}
{{ $question?->question_title }} {!! clean(replaceImageSources($question?->question_description)) !!}
( {{ $question->replies_count }} {{ __('answers') }} )
@forelse ($question?->replies as $reply)
img
{{ $reply?->user?->name }} {{ formatDate($reply?->created_at, 'd M, Y : H:i') }}
@csrf @method('DELETE')
{!! clean(replaceImageSources($reply?->reply)) !!}
@empty

{{ __('No replies yet') }}

@endforelse
@empty

{{ __('No questions found!') }}

@endforelse {{ $lesson_questions?->links() }}
@endsection @push('scripts') @endpush