Module: ActionView::Helpers::ToCountrySelectTag
- Included in:
- CountrySelectYaml, InstanceTag
- Defined in:
- lib/country_select_yaml.rb
Instance Method Summary collapse
Instance Method Details
#to_country_select_tag(priority_countries, options, html_options) ⇒ Object
73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/country_select_yaml.rb', line 73 def to_country_select_tag(priority_countries, , ) = .stringify_keys add_default_name_and_id() value = value(object) content_tag("select", ( (value, priority_countries, [:lang]), , value ), ) end |