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.5.0 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.9 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.8 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.7 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.6 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.5 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.4 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.3 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.2 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.1 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.3.0 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.2.9 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.2.8 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.2.7 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.2.6 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.2.5 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.2.4 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.2.3 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.2.2 lib/flexa_formtastic_bootstrap/form_builder.rb
flexa_lib-0.2.1 lib/flexa_formtastic_bootstrap/form_builder.rb