Same options as for scales: "private" shows only the number of votes on the stage, "comments" adds an optional comment field whose comments rotate in the presentation, "comment_ratings" shows the chosen answer(s) next to each comment. With multiple choice the comment is stored on the participant's first row. Settings and participant fields are shared elements for scale and choice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
1.2 KiB
PHP
27 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* Settings "comment field" and "internal feedback" of a scale or choice slide.
|
|
*
|
|
* @var \App\View\AppView $this
|
|
* @var array<string, mixed> $settings Current settings
|
|
* @var string $ratingLabel Label of the setting comment_ratings
|
|
*/
|
|
?>
|
|
<?= $this->Form->control('settings.comments', [
|
|
'type' => 'checkbox',
|
|
'label' => __('Kommentarfeld anzeigen (Teilnehmende können ihre Antwort optional begründen)'),
|
|
'checked' => (bool)$settings['comments'],
|
|
]) ?>
|
|
<p class="hint"><?= __('Die Kommentare laufen in der Präsentation nacheinander durch (nicht bei den Teilnehmenden). Bei internem Feedback siehst du sie nur in der Auswertung.') ?></p>
|
|
<?= $this->Form->control('settings.comment_ratings', [
|
|
'type' => 'checkbox',
|
|
'label' => $ratingLabel,
|
|
'checked' => (bool)$settings['comment_ratings'],
|
|
]) ?>
|
|
<?= $this->Form->control('settings.private', [
|
|
'type' => 'checkbox',
|
|
'label' => __('Internes Feedback: Ergebnis nicht öffentlich anzeigen'),
|
|
'checked' => (bool)$settings['private'],
|
|
]) ?>
|
|
<p class="hint"><?= __('Präsentation und Teilnehmende sehen nur, wie viele abgestimmt haben. Das Ergebnis und die Kommentare siehst nur du hier in der Verwaltung (und im CSV-Export).') ?></p>
|