@extends('backend.layouts.app') @section('title', __('labels.backend.testimonials.title').' | '.app_name()) @section('content')

@lang('labels.backend.questions.title')

@lang('labels.backend.questions.fields.question') {!! $question->question !!}
@lang('labels.backend.questions.fields.question_image') @if($question->question_image)@endif
@lang('labels.backend.questions.fields.score') {{ $question->score }}
@if( request('show_deleted') == 1 ) @else @endif @if (count($questions_options) > 0) @foreach ($questions_options as $questions_option) @if( request('show_deleted') == 1 ) @endif @endforeach @else @endif
@lang('labels.backend.questions_options.fields.question') @lang('labels.backend.questions_options.fields.option_text') @lang('labels.backend.questions_options.fields.correct')@lang('labels.general.actions')@lang('labels.general.actions')
{{ ($questions_option->question) ? $questions_option->question->question : '' }} {!! $questions_option->option_text !!} {{ Form::checkbox("correct", 1, $questions_option->correct == 1 ? true : false, ["disabled"]) }} {{trans('strings.backend.general.app_restore')}}
@csrf
{{trans('strings.backend.general.app_permadel')}}
@csrf {{method_field('DELETE')}}
@else
@can('questions_option_view') @endcan @can('questions_option_edit') @endcan @can('questions_option_delete')
@csrf {{method_field('DELETE')}}
@endcan
@lang('strings.backend.general.app_no_entries_in_table')
@if( request('show_deleted') == 1 ) @else @endif @if (count($tests) > 0) @foreach ($tests as $test) @if( request('show_deleted') == 1 ) @else @endif @endforeach @else @endif
@lang('labels.backend.tests.fields.course') @lang('labels.backend.tests.fields.lesson') @lang('labels.backend.tests.fields.title') @lang('labels.backend.tests.fields.questions') @lang('labels.backend.tests.fields.published')@lang('labels.general.actions')@lang('labels.general.actions')
{{ ($test->course) ? $test->course->title : '' }} {{ ($test->lesson) ? $test->lesson->title : '' }} {{ $test->title }} @foreach ($test->questions as $singleQuestions) {{ $singleQuestions->question }} @endforeach {{ Form::checkbox("published", 1, $test->published == 1 ? true : false, ["disabled"]) }} {{trans('strings.backend.general.app_restore')}}
@csrf
{{trans('strings.backend.general.app_permadel')}}
@csrf {{method_field('DELETE')}}
@can('test_view') @endcan @can('test_edit') @endcan @can('test_delete')
@csrf {{method_field('DELETE')}}
@endcan
@lang('strings.backend.general.app_no_entries_in_table')
@lang('strings.backend.general.app_back_to_list')
@stop