$settings Current settings * @var string $ratingLabel Label of the setting comment_ratings */ ?> Form->control('settings.comments', [ 'type' => 'checkbox', 'label' => __('Kommentarfeld anzeigen (Teilnehmende können ihre Antwort optional begründen)'), 'checked' => (bool)$settings['comments'], ]) ?>

Form->control('settings.comment_ratings', [ 'type' => 'checkbox', 'label' => $ratingLabel, 'checked' => (bool)$settings['comment_ratings'], ]) ?> Form->control('settings.private', [ 'type' => 'checkbox', 'label' => __('Internes Feedback: Ergebnis nicht öffentlich anzeigen'), 'checked' => (bool)$settings['private'], ]) ?>