@extends('layouts.frontend') @section('content')
@can('test_answer_create') @endcan
{{ trans('cruds.testAnswer.title_singular') }} {{ trans('global.list') }}
@foreach($testAnswers as $key => $testAnswer) @endforeach
{{ trans('cruds.testAnswer.fields.id') }} {{ trans('cruds.testAnswer.fields.test_result') }} {{ trans('cruds.testAnswer.fields.question') }} {{ trans('cruds.testAnswer.fields.option') }} {{ trans('cruds.testAnswer.fields.is_correct') }}  
{{ $testAnswer->id ?? '' }} {{ $testAnswer->test_result->score ?? '' }} {{ $testAnswer->question->question_text ?? '' }} {{ $testAnswer->option->option_text ?? '' }} {{ $testAnswer->is_correct ?? '' }} is_correct ? 'checked' : '' }}> @can('test_answer_show') {{ trans('global.view') }} @endcan @can('test_answer_edit') {{ trans('global.edit') }} @endcan @can('test_answer_delete')
@endcan
@endsection @section('scripts') @parent @endsection