@extends('admin.layout') @section('title', 'Questions') @section('subtitle', $questions->total() . ' total') @section('content')
+ New Question
@forelse ($questions as $q) @empty @endforelse
Question Category Difficulty Active
{{ $q->question }}
Correct: {{ $q->options[$q->correct_index] ?? '—' }}
{{ $q->category->label ?? '—' }} {{ $q->difficulty }}
@csrf
Edit
@csrf @method('DELETE')
No questions match.
{{ $questions->links() }}
@endsection