{#each quizzes as quiz}

{quiz.title}

{quiz.description}

{quiz.title}

{quiz.questions.length} Questions

{#if quiz.public} {$t('words.public')} {:else} {$t('words.private')} {/if}
Edit
{#each quiz.questions as question}
{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}

{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.

{/if}
{/each}
{/each}