def METHOD_NAME(self, name, value, attrs=None, renderer=None):
    attrs = attrs or self.attrs
    label_attrs = ['class="checkbox-inline"']
    if 'id' in self.attrs:
        label_attrs.append(format_html('for="{}"', self.attrs['id']))
    label_for = mark_safe(' '.join(label_attrs))
    tag = super(CheckboxInput, self).METHOD_NAME(name, value, attrs)
    return format_html('<label {0}>{1} {2}</label>', label_for, tag, self.choice_label)