@extends('layouts.app') @section('title', 'Question Bank') @push('styles') @endpush @section('content')

Question bank

Total: {{ count($questions) }} questions

Export CSV
@if(request()->anyFilled(['search', 'subject'])) Clear @endif
@foreach ($subjects as $subject) @endforeach
@forelse ($questions as $question) @empty @endforelse
Question Subject Type Difficulty Marks Actions
{{ $question->question_text }}
{{ $question->subject }} {{ $question->question_type }} {{ $question->difficulty }} {{ $question->marks }}
No questions found.
@if(method_exists($questions, 'links'))
{{ $questions->appends(request()->query())->links() }}
@endif

Confirm Delete

Are you sure? This cannot be undone.

@csrf @method('DELETE')
@endsection