Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/country_select/lib/country_select.rb

Instance Method Summary collapse

Instance Method Details

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



83
84
85
# File 'lib/country_select/lib/country_select.rb', line 83

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