@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => 'My Tests'])
@csrf @method('POST')
New Test


@if ($errors->has('tags')) {{ $errors->first('tags') }} @endif
    @php($i = 1) @foreach ($test->questions as $question)
  • @if (count($test->questions) > 1) @endif
      @php($j = 1) @foreach ($question->reponses as $reponse)
    1. estCorrecte ? 'checked' : '' }}> @if (count($question->reponses) > 1) @endif @if ($loop->last) @endif
    2. @php($j++) @endforeach
  • @php($i++) @endforeach
@include('js-css-help.addToTest')
@include('components.test-footer')
@include('layouts.footers.auth.footer')
@endsection