@extends('layouts.app')
@section('title', 'Question Bank')
@push('styles')
@endpush
@section('content')
Question bank
Total: {{ count($questions) }} questions
@if(request()->anyFilled(['search', 'subject']))
Clear
@endif
@foreach ($subjects as $subject)
@endforeach
| Question |
Subject |
Type |
Difficulty |
Marks |
Actions |
@forelse ($questions as $question)
|
{{ $question->question_text }}
|
{{ $question->subject }} |
{{ $question->question_type }}
|
{{ $question->difficulty }}
|
{{ $question->marks }} |
|
@empty
| No questions found. |
@endforelse
@if(method_exists($questions, 'links'))
{{ $questions->appends(request()->query())->links() }}
@endif
Confirm Delete
Are you sure? This cannot be undone.
@endsection