

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

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