def __unicode__(self):
        if 'id' in self.attrs:
            label_for = ' for="%s_%s"' % (self.attrs['id'], self.index)
        else:
            label_for = ''
        choice_label = conditional_escape(force_unicode(self.choice_label))
        return mark_safe(u'<label class="radio"%s>%s %s</label>' % (label_for, self.tag(), choice_label))
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/style/forms/widgets.py/BootstrapRadioInput.__unicode__/original