Method: Playbook::PbTextInput::TextInput#classname

Defined in:
app/pb_kits/playbook/pb_text_input/text_input.rb

#classnameObject



28
29
30
31
# File 'app/pb_kits/playbook/pb_text_input/text_input.rb', line 28

def classname
  default_margin_bottom = margin_bottom.present? ? "" : " mb_sm"
  generate_classname("pb_text_input_kit") + default_margin_bottom + error_class + inline_class
end