{{trans_choice('messages.Questions',1)}} {{ $question->text}}

{{__('messages.Full details of Question.')}}

@if (session()->has('message'))
{{ session('message') }}
@endif
{{__('messages.Course Level')}}
{{( $question->course_level) ?$question->course_level->name: "-"}}
{{__('messages.type')}}
{{ $question->type}}
{{__('messages.Question Text')}}
{{ $question->text}}
{{__('messages.Answer Time Per Minutes')}}
{{$question->answer_time_per_minutes}} Minutes
{{__('messages.Answer Type')}}
{{ $question->answer_type}}
{{__('messages.Updated At')}}
{{ $question->updated_at->diffForHumans()}}
{{__('messages.Updated By')}}
{{($question->last_updated_by_user)?$question->last_updated_by_user->name:"-"}}
{{__('messages.Product')}}
{{( $question->course_level) ?$question->course_level->product->name: "-"}}
{{__('messages.Activate')}}
@if($question->active == 1) @else @endif
{{__('messages.Attachment')}}
@if ($question->url) @if($question->type=="image") @endif @if($question->type=="audio") @endif @if($question->type=="video") @endif @else

No Attachment

@endif
{{__('messages.comment')}}
{{ $question->comment}}
{{__('messages.Created At')}}
{{ $question->created_at->diffForHumans()}}

{{__('messages.Answers Of This Question')}}

{{-- --}}
@can("show answers") # {{__('messages.Text')}} {{__('messages.Status')}} {{__('messages.comment')}} {{__('messages.Updated By')}} {{__('messages.Created At')}} {{__('messages.Updated At')}} @forelse ($answers as $answer) {{$loop->iteration}} {{$answer->text}} @if($answer->status == 1 ) @else @endif {{$answer->comment}} {{( $answer->last_updated_by)? $answer->last_updated_by_user->name:"-"}} {{$answer->created_at->diffForHumans()}} {{$answer->updated_at->diffForHumans()}}
@can("delete answers") {{$answer->id}} {{$answer->text}} @endcan @can("edit answers") {{$answer->id}} {{$answer->text}}
4 edit_answer_text
4 edit_answer_comment
@endcan
@empty {{__('messages.Empty Result')}} @endforelse
@endcan @livewire('add-answer-component',['question'=>$question])