{{ __('labels.LbQuestionAdd') }}

@php($questions = $all_questions->filter(function ($qst, int $key) {return $qst->type != 'ending_text' && !$qst->isLabel();})->sortByDesc('priority')) @if (count($questions)) @component('quiz.form.questions_list', [ 'name' => 'question_sibling', 'class' => 'question_sibling', 'label' => trans('bdd.questions.question.s'), 'id' => 'question_sibling', 'value' => $questions->first()->id, 'datas' => $questions, 'multiple' => false, 'required' => true, ]) @endcomponent @endif