|
|
@@ -1133,6 +1133,7 @@ class FormHelper extends Helper
|
|
|
'content' => $result,
|
|
|
'error' => $error,
|
|
|
'errorSuffix' => $errorSuffix,
|
|
|
+ 'label' => $label,
|
|
|
'options' => $options,
|
|
|
]);
|
|
|
|
|
|
@@ -1180,6 +1181,7 @@ class FormHelper extends Helper
|
|
|
return $this->formatTemplate($inputContainerTemplate, [
|
|
|
'content' => $options['content'],
|
|
|
'error' => $options['error'],
|
|
|
+ 'label' => $options['label'] ?? '',
|
|
|
'required' => $options['options']['required'] ? ' required' : '',
|
|
|
'type' => $options['options']['type'],
|
|
|
'templateVars' => $options['options']['templateVars'] ?? [],
|