mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Wrapper div for LiteralField
This commit is contained in:
parent
049277d71f
commit
d66b64d1fa
@ -253,7 +253,7 @@ class BasicFieldsTestPage extends TestPage
|
|||||||
);
|
);
|
||||||
|
|
||||||
$fields->addFieldToTab('Root.Text',
|
$fields->addFieldToTab('Root.Text',
|
||||||
LiteralField::create('LiteralField', 'LiteralField with <b>some bold text</b> and <a href="http://silverstripe.com">a link</a>')
|
LiteralField::create('LiteralField', '<div class="form__divider">LiteralField with <b>some bold text</b> and <a href="http://silverstripe.com">a link</a></div>')
|
||||||
);
|
);
|
||||||
|
|
||||||
$fields->addFieldToTab('Root.Text',
|
$fields->addFieldToTab('Root.Text',
|
||||||
|
Loading…
Reference in New Issue
Block a user