Sha256: 5f8e7743d32870e895912b4982af59697f85902fe885bf2d665cb7b1bd62cfde

Contents?: true

Size: 349 Bytes

Versions: 12

Compression:

Stored size: 349 Bytes

Contents

module FormtasticBootstrap
  module Inputs
    module Base
      module Labelling

        include Formtastic::Inputs::Base::Labelling

        def label_html_options
          {}.tap do |opts|
            opts[:for] ||= input_html_options[:id]
            opts[:class] = [opts[:class]]
          end
        end
        
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

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