def get_form(self, form, name):
kwargs = self.get_kwargs(form, name)<EOL>form_class = self.get_form_class(form, name)<EOL>composite_form = form_class(<EOL>data=form.data if form.is_bound else None,<EOL>files=form.files if form.is_bound else None,<EOL>**kwargs)<EOL>return composite_form<EOL>
Get an instance of the form.