Adjust size of custom summary and remove extra title

Depends on https://github.com/silverstripe/silverstripe-framework/pull/4072
This commit is contained in:
Damian Mooyman 2015-04-14 14:22:52 +12:00
parent c03ec88467
commit 467a50175e
1 changed files with 2 additions and 1 deletions

View File

@ -117,9 +117,10 @@ class BlogPost extends Page {
'CustomSummary',
_t('BlogPost.CUSTOMSUMMARY', 'Add A Custom Summary'),
array(
$summary = HtmlEditorField::create("Summary")
$summary = HtmlEditorField::create("Summary", false)
)
)->setHeadingLevel(4);
$summary->setRows(5);
$summary->setDescription(_t(
'BlogPost.SUMMARY_DESCRIPTION',
"If no summary is specified the first 30 words will be used."