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() {
|
function getFormField() {
|
||||||
// TODO customise this
|
// TODO customise this
|
||||||
return new LabelField( $this->Title, 'FormHeading' );
|
$labelField = new LabelField('FormHeadingLabel',$this->Title);
|
||||||
// return '<h3>' . $this->Title . '</h3>';
|
$labelField->addExtraClass('FormHeading');
|
||||||
|
return $labelField;
|
||||||
}
|
}
|
||||||
|
|
||||||
function showInReports() {
|
function showInReports() {
|
||||||
|
Loading…
Reference in New Issue
Block a user