|
|
@@ -1520,8 +1520,9 @@ class FormHelper extends AppHelper {
|
|
|
);
|
|
|
|
|
|
if ($label) {
|
|
|
- $optTitle = $this->Html->useTag('label', $tagName, '', $optTitle);
|
|
|
+ $optTitle = $this->label($tagName, $optTitle, is_array($label) ? $label : null);
|
|
|
}
|
|
|
+
|
|
|
if (is_array($between)) {
|
|
|
$optTitle .= array_shift($between);
|
|
|
}
|