mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX: fixed label on literalfield
This commit is contained in:
parent
11d80d4699
commit
107d655b20
@ -48,7 +48,7 @@ class EditableLiteralField extends EditableFormField {
|
||||
|
||||
function createField() {
|
||||
return new LiteralField("LiteralField[$this->ID]",
|
||||
"<label class='left'>$this->Name</label><div class='middleColumn literalFieldArea'>". $this->Content."</div>");
|
||||
"<label class='left'>$this->Title</label><div class='middleColumn literalFieldArea'>". $this->Content."</div>");
|
||||
}
|
||||
/**
|
||||
* Populates the default fields.
|
||||
|
Loading…
Reference in New Issue
Block a user