Quiz: remove free_text type entirely, all questions now multiple choice only

This commit is contained in:
root
2026-05-06 07:04:39 +00:00
parent c96f22fdc7
commit c66f126e99
3 changed files with 0 additions and 13 deletions
@@ -17,7 +17,6 @@
<option value="multiple_choice">Multiple Choice Fehlersuche</option>
<option value="exclusion">Ausschlussverfahren (welches gehört nicht dazu?)</option>
<option value="true_false">Wahr / Falsch</option>
<option value="free_text">Freitext Eingabe</option>
</select>
</div>
<div>
@@ -26,7 +26,6 @@
<option value="multiple_choice">Multiple Choice Fehlersuche</option>
<option value="exclusion">Ausschlussverfahren (welches gehört nicht dazu?)</option>
<option value="true_false">Wahr / Falsch</option>
<option value="free_text">Freitext Eingabe</option>
</select>
</div>
<div>
@@ -110,17 +110,6 @@
</label>
</div>
@elseif($question->type === 'free_text')
<div class="mb-6">
<input type="text" name="answer" required autofocus placeholder="Deine Antwort eingeben …"
class="w-full border-2 border-slate-200 focus:border-violet-500 rounded-xl px-4 py-3 text-lg font-bold text-slate-800 outline-none text-center transition-colors">
</div>
@endif
@if($question->type === 'free_text')
<button type="submit" class="w-full bg-violet-600 hover:bg-violet-700 text-white py-3 rounded-xl font-bold text-base">
Antworten
</button>
@endif
</form>
</div>