@extends('backend.master') @section('mainContent') @include("backend.partials.alertMessage") {!! generateBreadcrumb() !!}
@csrf

@if(isset($chapter)) {{__('common.Edit')}} @else {{__('common.Add')}} @endif {{__('quiz.Chapter')}}

@if(isset($chapter)) @if (permissionCheck('chapterEdit'))
@csrf @method('PUT') @endif @else @if (permissionCheck('saveChapterPage')) @csrf @endif @endif
@if(session()->has('message-success'))
{{ session()->get('message-success') }}
@elseif(session()->has('message-danger'))
{{ session()->get('message-danger') }}
@endif
@if ($errors->has('category')) {{ $errors->first('category') }} @endif
@if ($errors->has('sub_category')) {{ $errors->first('sub_category') }} @endif
@if ($errors->has('question_type')) {{ $errors->first('question_type') }} @endif
@if ($errors->has('chapter_name')) {{ $errors->first('chapter_name') }} @endif
@php $tooltip = ""; @endphp

{{__('quiz.Chapter List')}}

@foreach($chapters as $key => $chapter) @endforeach
{{ __('common.SL') }} {{ __('quiz.Course') }} {{ __('coupons.Title') }} {{ __('coupons.Title') }} {{ __('common.Action') }}
{{ $key+1 }} {{@$chapter->title }} {{@$chapter->name }}
@include('backend.partials.delete_modal') @endsection @push('scripts') @endpush