Questions
{{-- Add Question --}}
Sl No. | Question | Sub Question | Answer | Class | Books | Module | Chapter | {{--Preferences | --}}Action |
---|---|---|---|---|---|---|---|---|---|
{{ ($descriptiveQuestions->currentPage() - 1) * $descriptiveQuestions->perPage() + $index + 1 }} | {{$descriptiveQuestion->question}} | @if ($descriptiveQuestion->sub_question) {{$descriptiveQuestion->sub_question}} @else No Sub question @endif | {{$descriptiveQuestion->answer}} | {{$descriptiveQuestion->chapter->module->book->class->class_name}} | {{$descriptiveQuestion->chapter->module->book->book_name}} | {{$descriptiveQuestion->chapter->module->module_name}} | {{$descriptiveQuestion->chapter->chapter_name}} | {{--1 | --}}
-
{{-- Previous Page Link --}}
@if ($descriptiveQuestions->onFirstPage())
- Previous @else
- Previous @endif {{-- Pagination Elements --}} @foreach ($descriptiveQuestions->getUrlRange(1, $descriptiveQuestions->lastPage()) as $page => $url) @if ($page == $descriptiveQuestions->currentPage())
- {{ $page }} @else
- {{ $page }} @endif @endforeach {{-- Next Page Link --}} @if ($descriptiveQuestions->hasMorePages())
- Next @else
- Next @endif