Add internal feedback and comments to choice slides
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>
This commit is contained in:
1 parent
3e09906830
commit
547b564e32
18 files changed
+485
-108
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* Optional comment field and internal-feedback hint below a scale or choice on the participant page.
|
||||
*
|
||||
* @var \App\View\AppView $this
|
||||
* @var \App\Model\Entity\Slide $slide Scale or choice slide
|
||||
* @var string $placeholder Placeholder of the comment field
|
||||
*/
|
||||
?>
|
||||
<?php if ($slide->hasComments()) : ?>
|
||||
<label class="comment-label" for="feedback-comment"><?= __('Kommentar (optional)') ?></label>
|
||||
<textarea id="feedback-comment" name="comment" rows="3" maxlength="500"
|
||||
placeholder="<?= h($placeholder) ?>"></textarea>
|
||||
<?php endif; ?>
|
||||
<?php if ($slide->isPrivate()) : ?>
|
||||
<p class="hint private-hint" id="private-hint">
|
||||
🔒 <?= __('Internes Feedback: Das Ergebnis wird nicht öffentlich angezeigt und deine Antwort nicht mit deinem Namen gespeichert.') ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
Reference in new issue
Block a user