Add anonymous feedback option for open questions
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped

Open questions can be marked private: the presenter screen and embeds
only show the number of answers, participants never see results, and
the texts are readable on a new admin answers page and in the CSV.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-07 16:28:47 +01:00
1 parent 07a292d109
commit 367ff8548d
14 files changed
+310 -12

No files matched your search

+7
View File
@@ -128,6 +128,13 @@ $optionsError = $slide->getError('options_text');
'label' => __('Mehrfachauswahl erlauben'),
'checked' => (bool)$settings['multiple'],
]) ?>
<?php elseif ($slide->type === 'open') : ?>
<?= $this->Form->control('settings.private', [
'type' => 'checkbox',
'label' => __('Anonymes Feedback: Antworten nicht öffentlich anzeigen'),
'checked' => (bool)$settings['private'],
]) ?>
<p class="hint"><?= __('Präsentation und Teilnehmende sehen nur, wie viele Antworten eingegangen sind. Die Texte siehst nur du hier in der Verwaltung (und im CSV-Export).') ?></p>
<?php elseif ($slide->type === 'wordcloud') : ?>
<?= $this->Form->control('settings.allow_upvotes', [
'type' => 'checkbox',