@extends('layouts.frontend') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.testAnswer.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('test_result'))
{{ $errors->first('test_result') }}
@endif {{ trans('cruds.testAnswer.fields.test_result_helper') }}
@if($errors->has('question'))
{{ $errors->first('question') }}
@endif {{ trans('cruds.testAnswer.fields.question_helper') }}
@if($errors->has('option'))
{{ $errors->first('option') }}
@endif {{ trans('cruds.testAnswer.fields.option_helper') }}
is_correct || old('is_correct', 0) === 1 ? 'checked' : '' }}>
@if($errors->has('is_correct'))
{{ $errors->first('is_correct') }}
@endif {{ trans('cruds.testAnswer.fields.is_correct_helper') }}
@endsection