Module: Formtastic::Inputs::Base::Options

Included in:
Formtastic::Inputs::Base
Defined in:
lib/formtastic/inputs/base/options.rb

Instance Method Summary collapse

Instance Method Details

#formtastic_optionsObject



10
11
12
# File 'lib/formtastic/inputs/base/options.rb', line 10

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

#input_optionsObject



6
7
8
# File 'lib/formtastic/inputs/base/options.rb', line 6

def input_options
  options.except(*formtastic_options)
end