def render(self, name, value, attrs=None):
    label_for = attrs.get('id', '')
    if (not label_for):
        attrs['id'] = uuidutils.generate_uuid()
        label_for = attrs['id']
    return html.format_html(u'<div class="themable-checkbox">{}<label for="{}"></label></div>', super(ThemableCheckboxInput, self).render(name, value, attrs), label_for)
def render(self, name, value, attrs=None):
    label_for = attrs.get('id', )
    if (not label_for):
        attrs['id'] = uuidutils.generate_uuid()
        label_for = attrs['id']
    return html.format_html(u'<div class="themable-checkbox">{}<label for="{}"></label></div>', super(ThemableCheckboxInput, self).render(name, value, attrs), label_for)