'Returns this form rendered as HTML with <div class="form-group">s for each form field.'

def as_div(self):

    error_row = u'<div    class="djng-line-spreader">%s</div>'
    div_element = self._html_output(normal_row=u'<div%(html_class_attr)s>%(label)s%(field)s%(help_text)s%(errors)s</div>', error_row=error_row, row_ender=u'</div>', help_text_html=u'<span    class="help-block">%s</span>', errors_on_separate_row=False)
    return div_element
