Class: SimpleForm::Inputs::StringInput
- Defined in:
- lib/generators/core/install/templates/simple_form_custom.rb
Instance Method Summary collapse
Methods inherited from Base
#hint_html_options, #label_html_options
Instance Method Details
#input_html_classes ⇒ Object
16 17 18 19 |
# File 'lib/generators/core/install/templates/simple_form_custom.rb', line 16 def input_html_classes classes = input_type == :string ? super : super.unshift("string") classes << :text_field end |