diff --git a/code/editor/EditableFormHeading.php b/code/editor/EditableFormHeading.php index 053f8dd..7f61a53 100755 --- a/code/editor/EditableFormHeading.php +++ b/code/editor/EditableFormHeading.php @@ -10,8 +10,9 @@ class EditableFormHeading extends EditableFormField { function getFormField() { // TODO customise this - return new LabelField( $this->Title, 'FormHeading' ); - // return '

' . $this->Title . '

'; + $labelField = new LabelField('FormHeadingLabel',$this->Title); + $labelField->addExtraClass('FormHeading'); + return $labelField; } function showInReports() {