Class: ActionView::Helpers::FormBuilder

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

Instance Method Summary collapse

Instance Method Details

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



99
100
101
102
103
104
105
106
# File 'lib/country_select.rb', line 99

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