@extends('layouts.admin-master') @section('title', 'Quiz question list') @section('css') @endsection @section('content')
Total Question Segment: Woadi:({{$countSegments->ecommerce}}) National:({{$countSegments->national}}) International:({{$countSegments->international}}) Sports:({{$countSegments->sports}}) Technology:({{$countSegments->technology}})
Question Level: Beginner:({{$countSegments->beginner}}) Easy:({{$countSegments->easy}}) Normal:({{$countSegments->normal}}) Hard:({{$countSegments->hard}}) Challenging:({{$countSegments->challenging}})
| # | Question | Option 1 | Option 2 | Option 3 | Option 4 | @if(in_array(Auth::guard('admin')->user()->id, [1,7]))Answer | @endifLevel | Upload_by | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| {{(($quizQuestions->perPage() * $quizQuestions->currentPage() - $quizQuestions->perPage()) + ($index+1) )}} | {{Str::limit($quizQuestion->question_title, 40)}} | {{$quizQuestion->option_1}} | {{$quizQuestion->option_2}} | {{$quizQuestion->option_3}} | {{$quizQuestion->option_4}} | @if(in_array(Auth::guard('admin')->user()->id, [1,7])){{$quizQuestion->answer}} | @endif{{ $quizQuestion->level }} | @if($quizQuestion->user){{$quizQuestion->user->name}} @else not found @endif |
status == 1) ? 'checked' : ''}} type="checkbox" class="custom-control-input" id="status{{$quizQuestion->id}}">
|
|