@php($drag_n_drop = isset($drag_n_drop) && $drag_n_drop) @php($randid = rand()) @if ($item->option('other_answer')) @if ($drag_n_drop)
  • 0
    @php($id_element = rand()) {{-- envoi vers une question --}} @php($send_to_question = $answer->sendToQuestionOption('other_answer', $item, $id_child)) @if ($send_to_question) {!! config('dgc-icons.arrow-right') !!} {{ $send_to_question }} @endif {{-- masquer par une question --}} @php($hidden_by = $answer->hideAnswerOption($item, 'other_answer', $id_child)) @if (count($hidden_by)) @foreach ($hidden_by as $hdn) {!! config('dgc-icons.eye-slash-fill') !!} {{ $hdn['label'] }} - {{ $hdn['answer_pos'] ?? $hdn['item'] }} @endforeach @endif
  • @else
    @endif @endif