Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/country-code-select.rb

Instance Method Summary collapse

Instance Method Details

#country_select(method, priority_countries = nil, options = {}, html_options = {}) ⇒ Object



314
315
316
# File 'lib/country-code-select.rb', line 314

def country_select(method, priority_countries = nil, options = {}, html_options = {})
  @template.country_select(@object_name, method, priority_countries, options.merge(:object => @object), html_options)
end