/** * Returns the label for this block. * @return string the label */ protected function getLabel() { if (isset($this->labelOptions['class'])) { $this->labelOptions['class'] .= ' control-label'; } else { $this->labelOptions['class'] = 'control-label'; } return parent::getLabel(); }
/** * Returns the label for this block. * @return string the label */ protected function getLabel() { if (isset($this->labelOptions['class'])) { $this->labelOptions['class'] .= ' control-label col-md-3'; } else { $this->labelOptions['class'] = 'control-label col-md-3'; } if (isset($this->htmlOptions['id'])) { $this->labelOptions['for'] = $this->htmlOptions['id']; } return parent::getLabel(); }