@extends('layouts.customadmin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.test.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('course')) {{ $errors->first('course') }} @endif {{ trans('cruds.test.fields.course_helper') }}
@if($errors->has('lesson')) {{ $errors->first('lesson') }} @endif {{ trans('cruds.test.fields.lesson_helper') }}
@if($errors->has('title')) {{ $errors->first('title') }} @endif {{ trans('cruds.test.fields.title_helper') }}
@if($errors->has('description')) {{ $errors->first('description') }} @endif {{ trans('cruds.test.fields.description_helper') }}
is_published || old('is_published', 0) === 1 ? 'checked' : '' }}>
@if($errors->has('is_published')) {{ $errors->first('is_published') }} @endif {{ trans('cruds.test.fields.is_published_helper') }}
@endsection