@extends('layouts.phoenix') @section('title', 'Questions') @section('content') @php $pull = App\Models\QuizQuestion::PULL; $categories = App\Models\QuizQuestion::CATEGORIES; @endphp
Chaque partie tire {{ $pull[App\Models\QuizQuestion::CATEGORY_CM] }} question Crédit Mutuel et {{ $pull[App\Models\QuizQuestion::CATEGORY_OTHER] }} questions Autre, dans un ordre aléatoire.
| # | Catégorie | Question | Réponses | Actions |
|---|---|---|---|---|
| {{ $question->id }} | {{ $categories[$question->category] ?? $question->category }} | {{ $question->title }} | @foreach(($answers[$question->id] ?? []) as $answer) {{ $answer->title }} @endforeach @if(! isset($answers[$question->id])) Aucune réponse @endif | Modifier |
| Aucune question. Créez-en une ou importez un fichier Excel. | ||||