@php $user = Auth::user(); if ($user->role_id == 2) { $groups = Modules\Quiz\Entities\QuestionGroup::where('active_status', 1)->where('user_id', $user->id)->latest()->get(); } else { $groups = Modules\Quiz\Entities\QuestionGroup::where('active_status', 1)->latest()->get(); } @endphp @if(isset($editLesson))
@csrf @else @if (permissionCheck('question-bank.store')) @csrf @endif @endif @if (isset($course->subcategory_id)) @endif
{{--
@if ($errors->has('quiz')) {{ $errors->first('quiz') }} @endif
--}} @php $online_exam=$editLesson->lessonQuiz; @endphp @php $LanguageList = getLanguageList(); @endphp
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('title') ? ' autofocus' : '' }} class="primary_input_field name{{ $errors->has('title') ? ' is-invalid' : '' }}" type="text" name="title[{{$language->code}}]" autocomplete="off" value="{{isset($online_exam)? $online_exam->getTranslation('title',$language->code): ''}}">
@endforeach
{{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- has('title') ? ' autofocus' : '' }}--}} {{-- class="primary_input_field name{{ $errors->has('title') ? ' is-invalid' : '' }}"--}} {{-- type="text" name="title[en]" autocomplete="off"--}} {{-- value="{{isset($online_exam)? $online_exam->title: old('title')}}">--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('title'))--}} {{-- --}} {{-- {{ $errors->first('title') }}--}} {{-- --}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}}
has('title') ? ' percentage' : '' }} class="primary_input_field name{{ $errors->has('percentage') ? ' is-invalid' : '' }}" type="number" name="percentage" autocomplete="off" value="{{isset($online_exam)? $online_exam->percentage: old('percentage')}}"> @if ($errors->has('percentage')) {{ $errors->first('percentage') }} @endif
{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- @if($errors->has('instruction'))--}} {{-- {{ $errors->first('instruction') }}--}} {{-- @endif--}} {{--
--}} {{--
--}}
@if ($errors->has('is_lock')) {{ $errors->first('is_lock') }} @endif
{{-- End New Create --}}