def get_field_class(self):
    field_class = self.field_class
    if ((not field_class) and (self.layout == 'horizontal')):
        field_class = self.horizontal_field_class
    return field_class
def get_field_class(self):
    field_class = self.field_class
    if ((not field_class) and (self.layout == 'horizontal')):
        field_class = self.horizontal_field_class
    return field_class