def get_label(self):
    if (self.show_label == 'skip'):
        return None
    elif isinstance(self.widget, CheckboxInput):
        label = None
    else:
        label = self.field.label
    if ((self.layout == 'horizontal') and (not label)):
        return mark_safe('&#160;')
    return label
def get_label(self):
    if (self.show_label == 'skip'):
        return None
    elif isinstance(self.widget, CheckboxInput):
        label = None
    else:
        label = self.field.label
    if ((self.layout == 'horizontal') and (not label)):
        return mark_safe('&#160;')
    return label