

def do_button(self, indent, value, **kwargs):
    v = {
        'value': value,
        'type': 'submit',
    }
    v.update(kwargs)
    return ((indent * ' ') + str(Tag('input', None, **v)))

dataset/ETHPy150Open limodou/uliweb/uliweb/form/template_layout.py FormWriter.do_button/original