

def __call__(self, field, **kwargs):
    kwargs.setdefault('class', 'form-control')
    kwargs.setdefault('class_', 'form-control')
    return super(BootstrapTextInput, self).__call__(field, **kwargs)

dataset/ETHPy150Open CenterForOpenScience/osf.io/framework/forms/__init__.py BootstrapTextInput.__call__/original