@php $assignment = $assignment ?? null; @endphp
@error('title')
{{ $message }}
@enderror
@error('max_marks')
{{ $message }}
@enderror
{{ __('Accepted answer types') }}
@php($acceptedTypes = old('submission_types', isset($assignment) && $assignment->exists ? $assignment->acceptedTypes() : \App\Models\Assignment::SUBMISSION_TYPES))
@foreach(['text' => __('Text answer'), 'file' => __('File upload'), 'url' => __('Link / URL')] as $type => $label)
@endforeach
allow_late_submission ?? false))>
allow_resubmission ?? true))>
status ?? true))>
peer_review_enabled ?? false))>