mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #1180 from jericrealubit/EditableLiteralField-nolabel-fix-JamesDPC
This commit is contained in:
commit
3b043bfb43
@ -161,7 +161,7 @@ class EditableLiteralField extends EditableFormField
|
||||
parent::updateFormField($field);
|
||||
|
||||
if ($this->HideLabel) {
|
||||
$this->ExtraClass .= ' nolabel';
|
||||
$field->addExtraClass('nolabel');
|
||||
} else {
|
||||
$field->setTitle($this->Title);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user