Made selfContainedRenderable more generic for form templates

Signed-off-by: Tom Wright <tom@inflatablecookie.com>