@extends('layouts.app') @section('title', 'All Questions') @section('page-title', 'All Questions') @section('breadcrumb', 'Products') @section('content')

All Questions

All questions created in your school will be listed here

@foreach(['question_type', 'status', 'date_from', 'date_to', 'sort'] as $field) @if(request($field)) @endif @endforeach
@if($questions->count())
@foreach($questions as $question) @endforeach
Question Type Question Pool Status Created Actions

{{ $question->question_text }}

{{ $question->typeLabel() }} {{ $question->questionPool?->title ?? '—' }} {{ ucfirst($question->status) }} {{ $question->created_at->format('M d, Y') }}
@csrf @method('DELETE')
{{ $questions->links() }}
@else

No results found

Questions from mock tests, quizzes, and question pools will appear here once created.

@endif
@endsection