mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX Fixed usage of HeaderField arguments in EditableFormHeading
This commit is contained in:
parent
b57bc7e58c
commit
87b458bba8
@ -10,8 +10,9 @@ class EditableFormHeading extends EditableFormField {
|
||||
|
||||
function getFormField() {
|
||||
// TODO customise this
|
||||
return new LabelField( $this->Title, 'FormHeading' );
|
||||
// return '<h3>' . $this->Title . '</h3>';
|
||||
$labelField = new LabelField('FormHeadingLabel',$this->Title);
|
||||
$labelField->addExtraClass('FormHeading');
|
||||
return $labelField;
|
||||
}
|
||||
|
||||
function showInReports() {
|
||||
|
Loading…
Reference in New Issue
Block a user