mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Passing rendered form to renderWith() call, underlying logic changed (see #7136)
This commit is contained in:
parent
6e872c34d4
commit
0f8a6999a1
@ -141,7 +141,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
Requirements::javascript(SAPPHIRE_ADMIN_DIR . '/javascript/MemberImportForm.js');
|
||||
|
||||
return $this->renderWith('BlankPage', array(
|
||||
'Form' => $this->MemberImportForm(),
|
||||
'Form' => $this->MemberImportForm()->forTemplate(),
|
||||
'Content' => ' '
|
||||
));
|
||||
}
|
||||
@ -173,7 +173,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
|
||||
return $this->renderWith('BlankPage', array(
|
||||
'Content' => ' ',
|
||||
'Form' => $this->GroupImportForm()
|
||||
'Form' => $this->GroupImportForm()->forTemplate()
|
||||
));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user