def render(self, name=None, value=None, attrs=None, choices=()):
    if self.id_for_label:
        label_for = html.format_html(' for="{}"', self.id_for_label)
    else:
        label_for = ''
    attrs = (dict(self.attrs, **attrs) if attrs else self.attrs)
    return html.format_html((u'<div class="themable-checkbox">{}<label{}>' + u'<span>{}</span></label></div>'), self.tag(attrs), label_for, self.choice_label)
def render(self, name=None, value=None, attrs=None, choices=()):
    if self.id_for_label:
        label_for = html.format_html(' for="{}"', self.id_for_label)
    else:
        label_for = 
    attrs = (dict(self.attrs, **attrs) if attrs else self.attrs)
    return html.format_html((u'<div class="themable-checkbox">{}<label{}>' + u'<span>{}</span></label></div>'), self.tag(attrs), label_for, self.choice_label)