def post_widget_render(self, html):
    if isinstance(self.widget, RadioSelect):
        html = self.list_to_class(html, 'radio radio-success')
    elif isinstance(self.widget, CheckboxSelectMultiple):
        html = self.list_to_class(html, 'checkbox')
    elif isinstance(self.widget, SelectDateWidget):
        html = self.fix_date_select_input(html)
    elif isinstance(self.widget, CheckboxInput):
        html = self.add_checkbox_label(html)
    elif isinstance(self.widget, FileInput):
        html = self.fix_file_input_label(html)
    return html
def post_widget_render(self, html):
    if isinstance(self.widget, RadioSelect):
        html = self.list_to_class(html, 'radio radio-success')
    elif isinstance(self.widget, CheckboxSelectMultiple):
        html = self.list_to_class(html, 'checkbox')
    elif isinstance(self.widget, SelectDateWidget):
        html = self.fix_date_select_input(html)
    elif isinstance(self.widget, CheckboxInput):
        html = self.add_checkbox_label(html)
    elif isinstance(self.widget, FileInput):
        html = self.fix_file_input_label(html)
    return html