@extends('layouts.admin-page') @section('pageTitle',__('site.manage-questions')) @section('page-title',__('site.edit').' '.__('site.question').' #'.$testquestion->id) @section('breadcrumb') @include('partials.breadcrumb',['crumbs'=>[ [ 'link'=> route('admin.tests.index'), 'page'=>__('site.tests') ], [ 'link'=>route('admin.test-questions.index',['test'=>$testquestion->test_id]), 'page'=>__('site.manage-questions') ], [ 'link'=>'#', 'page'=>__('site.edit').' '.__('site.question') ] ]]) @endsection @section('page-content')
@can('access','view_test_questions') @endcan

{{ method_field('PATCH') }} {{ csrf_field() }} @include ('admin.test-questions.form', ['formMode' => 'edit'])
@lang('site.add-options')

@lang('site.options')

@foreach($testquestion->testOptions as $option) @endforeach
@lang('site.option') @lang('site.correct-answer')
{{ $option->option }} @if($option->is_correct==1) @endif @lang('site.delete') @lang('site.edit')
@endsection @section('header') @endsection @section('footer') @endsection