Module: I18nCountrySelect::FormHelpers
- Defined in:
- lib/i18n_country_select/form_helpers.rb
Instance Method Summary collapse
Instance Method Details
#country_code_select(object_name, method, priority_countries = nil, options = {}, html_options = {}) ⇒ Object
3 4 5 |
# File 'lib/i18n_country_select/form_helpers.rb', line 3 def country_code_select(object_name, method, priority_countries = nil, = {}, = {}) ActionView::Helpers::InstanceTag.new(object_name, method, self, .delete(:object)).to_country_code_select_tag(priority_countries, , ) end |