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

- (Object) formtastic_options



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

def formtastic_options
  [:priority_countries, :priority_zones, :member_label, :member_value, :collection, :required, :label, :as, :hint, :input_html, :value_as_class, :find_options, :class]
end

- (Object) input_options



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

def input_options
  options.except(*formtastic_options)
end