@extends('layout.layout') @section('content')
@if($errors->has('success')) @foreach ($errors->all() as $error)
@endforeach @endif @if($errors->has('error')) @foreach ($errors->all() as $error)
@endforeach @endif
@if(count($showChapters) != 0) @foreach ($showChapters as $chapter)

Ai accesat capitolul: {{ $chapter->chapter_id }} {{$chapter->chapter_name}}

Nume-> {{ $chapter->chapter_name }}

Fila atasata-> {{substr($chapter->chapter_file,16)}}

Testul capitolului-> {{ $chapter->test_name }}

Cate intrebari corecte are testul-> {{ $chapter->test_min_questions }}

Cate intrebari se afiseaza din test-> {{ $chapter->test_questions }}

Descrierea capitolului-> {!! $chapter->chapter_description !!}

@endforeach @else

Momentan acest curs nu are capitole!

@endif
@endsection