Sha256: 7468f65204220c8954527f11dd8763d6f2085b32ca581824b2c073e80beb336d

Contents?: true

Size: 1022 Bytes

Versions: 12

Compression:

Stored size: 1022 Bytes

Contents

module FormtasticBootstrap
  
  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 FormtasticBootstrap::Helpers::InputHelper
    include FormtasticBootstrap::Helpers::InputsHelper
    include FormtasticBootstrap::Helpers::ButtonsHelper

  end

end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
speedo-formstrap-1.2.7 lib/formtastic-bootstrap/form_builder.rb
speedo-formstrap-1.2.6 lib/formtastic-bootstrap/form_builder.rb
speedo-formstrap-1.2.5 lib/formtastic-bootstrap/form_builder.rb
speedo-formstrap-1.2.4 lib/formtastic-bootstrap/form_builder.rb
formtastic-bootstrap-1.2.0 lib/formtastic-bootstrap/form_builder.rb
formtastic-bootstrap-1.1.2 lib/formtastic-bootstrap/form_builder.rb
formtastic-bootstrap-1.1.1 lib/formtastic-bootstrap/form_builder.rb
formtastic-bootstrap-1.1.0 lib/formtastic-bootstrap/form_builder.rb
formtastic-bootstrap-1.0.3 lib/formtastic-bootstrap/form_builder.rb
formtastic-bootstrap-1.0.2 lib/formtastic-bootstrap/form_builder.rb
formtastic-bootstrap-1.0.1 lib/formtastic-bootstrap/form_builder.rb
formtastic-bootstrap-1.0.0 lib/formtastic-bootstrap/form_builder.rb