Skip to content
Snippets Groups Projects
Commit 668750e7 authored by Carsten  Rose's avatar Carsten Rose Committed by bbaer
Browse files

Bug: Subrecord Title - now wrapped with <label class='control-label'>

parent 81be4d9c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment