

def new_boolean_input(node, modelclass, metadata):
    id = ('id_' + metadata.colname)
    node.add_label(metadata.colname, id)
    return node.add_input(type='checkbox', name=metadata.colname, id=id, checked=id.default)

dataset/ETHPy150Open kdart/pycopia/storage/pycopia/db/webhelpers.py new_boolean_input/VarMisuse@56/69 `metadata`->`id`