

def begin_form(self, indent, value, **kwargs):
    if kwargs.get('class', None):
        self.form.html_attrs['class'] = kwargs['class']
    if (not self.form.html_attrs['class']):
        self.form.html_attrs['class'] = 'form-horizontal'
    return ((self * ' ') + self.form.form_begin)

dataset/ETHPy150Open limodou/uliweb/uliweb/form/template_layout.py BootstrapFormWriter.begin_form/VarMisuse@74/95 `indent`->`self`