Sha256: f58dfbec00467fd4782a51168659f897e2d234eb9076201d85a8fd2d0abca0e9

Contents?: true

Size: 467 Bytes

Versions: 23

Compression:

Stored size: 467 Bytes

Contents

# Alas, I need to duplicate code from Formtastic::Inputs::Base::Stringish because
# there's no way to re-import that module.
module FlexaFormtasticBootstrap
  module Inputs
    module Base
      module Stringish
        
        include Formtastic::Inputs::Base::Stringish

        def wrapper_html_options
          new_class = [super[:class], "stringish"].compact.join(" ")
          super.merge(:class => new_class)
        end
        
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
flexa_lib-0.5.2 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.5.1 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.5.0 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.9 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.8 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.7 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.6 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.5 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.4 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.3 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.2 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.1 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.3.0 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.2.9 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.2.8 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.2.7 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.2.6 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.2.5 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.2.4 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb
flexa_lib-0.2.3 lib/flexa_formtastic_bootstrap/inputs/base/stringish.rb