Sha256: 5c383f206e9376a2ef995e69143304bac9a498b52230dc76e087464720e469b9

Contents?: true

Size: 413 Bytes

Versions: 9

Compression:

Stored size: 413 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, :value_as_class, :class]
        end
      
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
formtastic-3.1.3 lib/formtastic/inputs/base/options.rb
formtastic-3.1.2 lib/formtastic/inputs/base/options.rb
formtastic-3.1.1 lib/formtastic/inputs/base/options.rb
formtastic-3.1.0 lib/formtastic/inputs/base/options.rb
formtastic-3.1.0.rc2 lib/formtastic/inputs/base/options.rb
formtastic-3.1.0.rc1 lib/formtastic/inputs/base/options.rb
formtastic-3.0.0 lib/formtastic/inputs/base/options.rb
formtastic-3.0.0.rc2 lib/formtastic/inputs/base/options.rb
formtastic-3.0.0.rc lib/formtastic/inputs/base/options.rb