def render_form(form, **kwargs):
 renderer_cls = get_form_renderer(**kwargs)
 return renderer_cls(form, **kwargs).render()

def render_form ( form , ** kwargs ) : renderer_cls = get_form_renderer ( ** kwargs ) return renderer_cls ( form , ** kwargs ) . render ( )
render a form to a bootstrap layout .