How to maintain the page scope when rendering a custom template for instance:
function SignupForm() {
$formSignup = new Form($this, "SignupForm", new FieldSet(
new EmailField("Email", "","E-Mail Address")),
new FieldSet(new FormAction("SignupAction", "Sign up")),
new RequiredFields("Email")
);
return $this->customise($formSignup)->renderWith(array('FormSignup'));
}
I'm trying to render this form with a simplified template. The code above returns the form only (instead of inserting it into Page.ss markup). How can get this function to render Page.ss including my FormSignup.ss?