Sha256: 020e3e10ab8e9d44bffa7ce33bf91c29437151b6e278263bca5866a8373e3201

Contents?: true

Size: 462 Bytes

Versions: 15

Compression:

Stored size: 462 Bytes

Contents

# Alas, I need to duplicate code from Formtastic::Inputs::Base::Stringish because
# there's no way to re-import that module.
module FormtasticBootstrap
  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

15 entries across 15 versions & 2 rubygems

Version Path
speedo-formstrap-1.2.9 lib/formtastic-bootstrap/inputs/base/stringish.rb
speedo-formstrap-1.2.8 lib/formtastic-bootstrap/inputs/base/stringish.rb
speedo-formstrap-1.2.7 lib/formtastic-bootstrap/inputs/base/stringish.rb
speedo-formstrap-1.2.6 lib/formtastic-bootstrap/inputs/base/stringish.rb
speedo-formstrap-1.2.5 lib/formtastic-bootstrap/inputs/base/stringish.rb
speedo-formstrap-1.2.4 lib/formtastic-bootstrap/inputs/base/stringish.rb
speedo-formstrap-1.2.0 lib/formtastic-bootstrap/inputs/base/stringish.rb
formtastic-bootstrap-1.2.0 lib/formtastic-bootstrap/inputs/base/stringish.rb
formtastic-bootstrap-1.1.2 lib/formtastic-bootstrap/inputs/base/stringish.rb
formtastic-bootstrap-1.1.1 lib/formtastic-bootstrap/inputs/base/stringish.rb
formtastic-bootstrap-1.1.0 lib/formtastic-bootstrap/inputs/base/stringish.rb
formtastic-bootstrap-1.0.3 lib/formtastic-bootstrap/inputs/base/stringish.rb
formtastic-bootstrap-1.0.2 lib/formtastic-bootstrap/inputs/base/stringish.rb
formtastic-bootstrap-1.0.1 lib/formtastic-bootstrap/inputs/base/stringish.rb
formtastic-bootstrap-1.0.0 lib/formtastic-bootstrap/inputs/base/stringish.rb