Sha256: fee8ff730244ad928efbd73f998af76b55c0534b7538b385ec71aee47bcf39ca

Contents?: true

Size: 471 Bytes

Versions: 8

Compression:

Stored size: 471 Bytes

Contents

module Formtastic
  module Inputs
    module Base
      module Options
        
        def input_options
          options.except(*formtastic_options)
        end
        
        def formtastic_options
          [:priority_countries, :priority_zones, :value_method, :label_method, :member_label, :member_value, :collection, :required, :label, :as, :hint, :input_html, :label_html, :value_as_class, :find_options, :class]
        end
      
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
formtastic-2.0.2 lib/formtastic/inputs/base/options.rb
formtastic-2.0.1 lib/formtastic/inputs/base/options.rb
formtastic-2.0.0 lib/formtastic/inputs/base/options.rb
formtastic-2.0.0.rc5 lib/formtastic/inputs/base/options.rb
formtastic-2.0.0.rc4 lib/formtastic/inputs/base/options.rb
formtastic-2.0.0.rc3 lib/formtastic/inputs/base/options.rb
formtastic-2.0.0.rc2 lib/formtastic/inputs/base/options.rb
formtastic-2.0.0.rc1 lib/formtastic/inputs/base/options.rb