def get_widgets(self, resource, context): site_root = resource.get_site_root() return ContactForm.get_widgets(self, site_root, context)