Class: StringInput

Inherits:
SimpleForm::Inputs::StringInput
  • Object
show all
Defined in:
app/inputs/string_input.rb

Overview

SimpleForm input wrapper: string.

Direct Known Subclasses

DisplayInput

Instance Method Summary collapse

Instance Method Details

#input_html_classesObject



4
5
6
# File 'app/inputs/string_input.rb', line 4

def input_html_classes
  (super || []).push('form-control').uniq
end