mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR: Fix to ModelAdmin, part of r103519 (from r103533)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112170 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
532166f4f5
commit
cd497a6cee
@ -428,7 +428,7 @@ class ModelAdmin_CollectionController extends Controller {
|
|||||||
|
|
||||||
$form = new Form($this, "CreateForm",
|
$form = new Form($this, "CreateForm",
|
||||||
new FieldSet(),
|
new FieldSet(),
|
||||||
$createButton = new FormAction('add', $buttonLabel),
|
new FieldSet($createButton = new FormAction('add', $buttonLabel)),
|
||||||
$validator = new RequiredFields()
|
$validator = new RequiredFields()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user