def render_field(field, **kwargs):
    'Render a field to a Bootstrap layout.'
    renderer_cls = get_field_renderer(**kwargs)
    return renderer_cls(field, **kwargs).render()
Render a field to a Bootstrap layout.
def render_field(field, **kwargs):
    
    renderer_cls = get_field_renderer(**kwargs)
    return renderer_cls(field, **kwargs).render()