Form->setTemplates([ 'inputContainer' => '{{content}}', 'inputContainerError' => '{{content}}', 'formGroup' => '{{input}}', ]); $label = $fieldData['label']; $formElement = $this->FormFieldMassage->prepareFormElement($this->Form, $params, $fieldData); $temp = sprintf( '