Sha256: ff7e4bf40f38b42d7cadb6c340583c7a220e843abffa242c222b6ac4362126b0

Contents?: true

Size: 441 Bytes

Versions: 7

Compression:

Stored size: 441 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, :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

7 entries across 7 versions & 1 rubygems

Version Path
formtastic-2.2.1 lib/formtastic/inputs/base/options.rb
formtastic-2.2.0 lib/formtastic/inputs/base/options.rb
formtastic-2.2.0.rc lib/formtastic/inputs/base/options.rb
formtastic-2.1.1 lib/formtastic/inputs/base/options.rb
formtastic-2.1.0 lib/formtastic/inputs/base/options.rb
formtastic-2.1.0.rc lib/formtastic/inputs/base/options.rb
formtastic-2.1.0.beta1 lib/formtastic/inputs/base/options.rb