Sha256: 135dd0ef922ae2b7c2408b79382184d0b1f261923bd792545ce15f86e2925f13

Contents?: true

Size: 354 Bytes

Versions: 23

Compression:

Stored size: 354 Bytes

Contents

module FlexaFormtasticBootstrap
  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

23 entries across 23 versions & 1 rubygems

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