Country
Country
field generates a Select field on Edit view that includes all ISO 3166-1 countries. The value stored in the database will be the country code, and the value displayed in Avo will be the name of the country.
WARNING
You must manually require the countries
gem in your Gemfile
.
ruby
# All sorts of useful information about every country packaged as convenient little country objects.
gem "countries"
ruby
field :country, as: :country, display_code: true