Sha256: 2cf02a549d8618c09a12bafc288aaf02ccf8a18dd6970c40b2addce2c33db326
Contents?: true
Size: 537 Bytes
Versions: 24
Compression:
Stored size: 537 Bytes
Contents
class StringInput < SimpleForm::Inputs::StringInput def input "<section>#{super}</section>".html_safe end end class NumericInput < SimpleForm::Inputs::NumericInput def input "<section>#{super}</section>".html_safe end end class CustomizedInput < SimpleForm::Inputs::StringInput def input "<section>#{super}</section>".html_safe end def input_method :text_field end end class CollectionSelectInput < SimpleForm::Inputs::CollectionSelectInput def input_html_classes super.push('chosen') end end
Version data entries
24 entries across 24 versions & 3 rubygems