def wrap_widget(self, html):
    if isinstance(self.widget, CheckboxInput):
        html = '<div class="form-check">{html}</div>'.format(html=html)
    return html
def wrap_widget(self, html):
    if isinstance(self.widget, CheckboxInput):
        html = '<div class="form-check">{html}</div>'.format(html=html)
    return html