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.2.2 lib/flexa_formtastic_bootstrap/inputs/base/labelling.rb
flexa_lib-0.2.1 lib/flexa_formtastic_bootstrap/inputs/base/labelling.rb
flexa_lib-0.2.0 lib/flexa_formtastic_bootstrap/inputs/base/labelling.rb