class RegionInput

Public Instance Methods

collection_from_options() click to toggle source
Calls superclass method
# File lib/china_region_fu/helpers/formtastic.rb, line 6
def collection_from_options
  return [] unless options.key?(:collection)
  super
end
input_html_options() click to toggle source
Calls superclass method
# File lib/china_region_fu/helpers/formtastic.rb, line 11
def input_html_options
  append_html_options(input_name, input_options.delete(:sub_region), super)
end