mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
MINOR: added field html to match other fields in the form #3793
This commit is contained in:
parent
cd9135bc89
commit
87fd643c82
@ -48,7 +48,7 @@ class EditableLiteralField extends EditableFormField {
|
|||||||
|
|
||||||
function createField() {
|
function createField() {
|
||||||
return new LiteralField("LiteralField[$this->ID]",
|
return new LiteralField("LiteralField[$this->ID]",
|
||||||
"<label class='left'>$this->Title</label><div class='middleColumn literalFieldArea'>". $this->Content."</div>");
|
"<div class='field text'><label class='left'>$this->Title</label><div class='middleColumn literalFieldArea'>". $this->Content."</div></div>");
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Populates the default fields.
|
* Populates the default fields.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user