Sha256: 3e65649e20f467bbd994b44315b2f96e2939d293fb3fc7cdf68e311e4bc1c1ec
Contents?: true
Size: 1.02 KB
Versions: 21
Compression:
Stored size: 1.02 KB
Contents
module FlexaFormtasticBootstrap class FormBuilder < Formtastic::FormBuilder configure :default_inline_error_class, 'help-inline' configure :default_block_error_class, 'help-block' configure :default_inline_hint_class, 'help-inline' configure :default_block_hint_class, 'help-block' def self.default_error_class # self.default_inline_error_class raise end def self.default_error_class=(error_class) # self.default_inline_error_class = error_class # self.default_block_error_class = error_class raise end def self.default_hint_class # self.default_inline_hint_class raise end def self.default_hint_class=(hint_class) # self.default_inline_hint_class = hint_class # self.default_block_hint_class = hint_class raise end include FlexaFormtasticBootstrap::Helpers::InputHelper include FlexaFormtasticBootstrap::Helpers::InputsHelper include FlexaFormtasticBootstrap::Helpers::ButtonsHelper end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
flexa_lib-0.2.0 | lib/flexa_formtastic_bootstrap/form_builder.rb |