@extends('layouts.app') @section('admin_title', 'Add MCQ') @section('content') @if(request()->has('message')) {{ request()->input('message') }} @endif @if(session('error')) {{ session('error') }} @endif Add MCQ to : {{ $universityName }} / {{ $courseName }} / {{ $moduleName }} / {{ $topicName }} @csrf Back to MCQs {{-- ✅ FORM ONLY HOLDS REAL SUBMIT FIELDS (NO QUILL DOM INSIDE FORM) --}} @csrf {{-- Hidden fields that receive Quill HTML --}} {{-- ✅ VISIBLE CONTROLS OUTSIDE FORM, LINKED USING form="addMcqForm" --}} Level -- Select Level -- Easy Medium Hard Question @for($i=1; $i<=2; $i++) Option {{ $i }} Option {{ $i }} editor @endfor @for($i=3; $i<=4; $i++) Option {{ $i }} Option {{ $i }} editor @endfor Correct Answer Add MCQ {{-- ✅ FINAL GUARANTEED LIGHTHOUSE FIX (auto adds id+name to any dynamic field) --}} @endsection
Question
Option {{ $i }} editor