MINOR Passing rendered form to renderWith() call, underlying logic changed (see #7136)

This commit is contained in:
Ingo Schommer 2012-04-13 15:35:46 +02:00
parent 6e872c34d4
commit 0f8a6999a1

View File

@ -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()
));
}