def __init__(self, *args, **kwargs):
    self.layout = kwargs.get('layout', '')
    self.form_group_class = kwargs.get('form_group_class', FORM_GROUP_CLASS)
    self.field_class = kwargs.get('field_class', '')
    self.label_class = kwargs.get('label_class', '')
    self.show_help = kwargs.get('show_help', True)
    self.show_label = kwargs.get('show_label', True)
    self.exclude = kwargs.get('exclude', '')
    self.set_placeholder = kwargs.get('set_placeholder', True)
    self.size = self.parse_size(kwargs.get('size', ''))
    self.horizontal_label_class = kwargs.get('horizontal_label_class', get_bootstrap_setting('horizontal_label_class'))
    self.horizontal_field_class = kwargs.get('horizontal_field_class', get_bootstrap_setting('horizontal_field_class'))
def __init__(self, *args, **kwargs):
    self.layout = kwargs.get('layout', )
    self.form_group_class = kwargs.get('form_group_class', FORM_GROUP_CLASS)
    self.field_class = kwargs.get('field_class', )
    self.label_class = kwargs.get('label_class', )
    self.show_help = kwargs.get('show_help', True)
    self.show_label = kwargs.get('show_label', True)
    self.exclude = kwargs.get('exclude', )
    self.set_placeholder = kwargs.get('set_placeholder', True)
    self.size = self.parse_size(kwargs.get('size', ))
    self.horizontal_label_class = kwargs.get('horizontal_label_class', get_bootstrap_setting('horizontal_label_class'))
    self.horizontal_field_class = kwargs.get('horizontal_field_class', get_bootstrap_setting('horizontal_field_class'))