diff --git a/extension/qfq/qfq/BuildFormBootstrap.php b/extension/qfq/qfq/BuildFormBootstrap.php index 11b3e8be766179f7a08152ed395840d37ecced0d..f1d4b09cfc64bd5bc195c9b3b439fbba9c445956 100644 --- a/extension/qfq/qfq/BuildFormBootstrap.php +++ b/extension/qfq/qfq/BuildFormBootstrap.php @@ -753,6 +753,7 @@ EOF; */ public function buildRowSubrecord(array $formElement, $elementHtml) { + $formElement[FE_LABEL] = Support::wrapTag("<label class='control-label'>", $formElement[FE_LABEL], true); $html = $this->wrapItem(WRAP_SETUP_ELEMENT, $this->wrapItem(WRAP_SETUP_SUBRECORD, $formElement[FE_LABEL])); $html .= $this->wrapItem(WRAP_SETUP_ELEMENT, $this->wrapItem(WRAP_SETUP_SUBRECORD, $elementHtml)); $html .= $this->wrapItem(WRAP_SETUP_ELEMENT, $this->wrapItem(WRAP_SETUP_SUBRECORD, $formElement[FE_NOTE])); @@ -760,6 +761,7 @@ EOF; $attribute = ($formElement[FE_MODE] == FE_MODE_HIDDEN) ? ' style="display: none;"' : ''; $attribute .= Support::doAttribute('id', $formElement[FE_HTML_ID]); + return Support::wrapTag("<span name='qfq-subrecord' $attribute>", $html); }