To solve, you will need to use templates. Add the following to your form options:
'templates' => [ 'checkboxContainer' => '{{content}}', 'checkboxFormGroup' => '{{label}}{{error}}{{help}}', 'checkboxWrapper' => '{{label}}', ],Use
debug($this->Form->getTemplates());
to get a list of all available templates.
No comments:
Post a Comment