@extends('layouts.admin') @section('content')

แก้ไขคำถาม

{{-- ✅ กลับไปกลุ่มคำถาม: ใช้ url() เพื่อให้มี /laravel-project/public --}} กลับไปกลุ่มคำถาม
แก้ไขข้อมูลคำถาม - {{ $question->questionGroup->name }}
{{-- ✅ UPDATE: บังคับพาทถูก --}}
@csrf @method('PUT')
@error('question_text')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@php $currentType = old('question_type', $question->question_type); @endphp @error('question_type')
{{ $message }}
@enderror
use_in_evaluation) ? 'checked' : '' }}>
{{-- (ส่วน choices / preview / อื่น ๆ ของบอส ใส่ต่อได้เหมือนเดิม) --}}
หมายเหตุ:
  • ใช้การลากในหน้าแก้ไขกลุ่มคำถามเพื่อกำหนดความสัมพันธ์แม่-ลูก
  • เงื่อนไขการเชื่อมต่อ (AND/OR) จะแสดงในหน้าแก้ไขกลุ่มคำถาม
ยกเลิก
{{-- ✅ DELETE: บังคับพาทถูก --}}
@endsection