ClassQuiz - View {quiz.title}

{@html quiz.title}

{@html quiz.description}

{#if quiz.cover_image}
Not provided
{/if}
{#if logged_in} {:else}
{/if}
{$t('words.practice')}
{#if logged_in} Download {:else}
{/if}
{$t('words.report')}
{#each quiz.questions as question, index_question}

{index_question + 1}: {@html question.question}

{#if question.image} Not provided {/if}

{question.time}s

{#if question.type === QuizQuestionType.ABCD || question.type === undefined}
{#each question.answers as answer, index_answer}

{quiz.questions[index_question].answers[index_answer] .answer}

{/each}
{:else if question.type === QuizQuestionType.RANGE}

All numbers between {question.answers.min_correct} and {question.answers.max_correct} are correct, where numbers between {question .answers.min} and {question.answers.max} can be selected.

{:else if question.type === QuizQuestionType.VOTING}
{#each question.answers as answer, index_answer}

{quiz.questions[index_question].answers[index_answer] .answer}

{/each}
{/if}
{/each}
{#if start_game !== null} {/if}