$slides * @var array $responseCounts * @var array $typeLabels * @var array $typeDescriptions * @var string $joinUrl */ $this->assign('title', $poll->title); $this->assign('noindex', '1'); $url = fn(string $name, array $params = []) => ['_name' => $name, 'token' => $adminToken] + $params; ?>

title) ?>

is_active) : ?>

1) : ?>
    $slide) : $isCurrent = $poll->current_slide_id === $slide->id; $count = $responseCounts[$slide->id] ?? 0; ?>
  1. typeLabel()) ?> isInteractive()) : ?> isQuiz()) : ?> · __('Quiz noch nicht gestartet'), 'running' => __('Quiz läuft'), 'finished' => __('Quiz beendet'), ][$slide->quizPhase()]) ?> is_voting_open) : ?>·
    question) ?> type === 'choice' && $slide->slide_options) : ?>

    $o->label, $slide->slide_options))) ?>

    isQuiz() && $slide->slide_options) : ?>

    $o->is_correct ? '✓ ' . $o->label : $o->label, $slide->slide_options, ))) ?>

    Form->postLink(__('Live'), $url('admin:control'), [ 'data' => ['action' => 'goto', 'slide_id' => $slide->id], 'class' => 'button button--small', 'title' => __('Diese Folie jetzt den Teilnehmenden zeigen'), ]) ?> Form->postLink('↑', $url('slides:move', ['id' => $slide->id, 'direction' => 'up']), [ 'class' => 'button button--small button--icon', 'title' => __('Nach oben'), ]) ?> Form->postLink('↓', $url('slides:move', ['id' => $slide->id, 'direction' => 'down']), [ 'class' => 'button button--small button--icon', 'title' => __('Nach unten'), ]) ?> 0) : ?> Form->postLink(__('Zurücksetzen'), $url('slides:reset', ['id' => $slide->id]), [ 'class' => 'button button--small', 'confirm' => __('Alle {0} Antworten dieser Folie löschen?', $count), ]) ?> Form->postLink(__('Löschen'), $url('slides:delete', ['id' => $slide->id]), [ 'class' => 'button button--small button--danger', 'confirm' => __('Folie „{0}“ inkl. aller Antworten löschen?', $slide->question), ]) ?>

$label) : ?>