Sha256: 49c948970d7ca4ab2da5b6d7f4763f447f18f9cc914e4247babd1583b7e9652e

Contents?: true

Size: 441 Bytes

Versions: 1

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, :value_method, :label_method, :collection, :required, :label, :as, :hint, :input_html, :label_html, :value_as_class, :find_options, :class]
        end
      
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nuatt-formtastic-0.2.3 lib/formtastic/inputs/base/options.rb