Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Country and Region Select Plugin

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 README.md
Octocat-spinner-32 init.rb
README.md

Country and region select

Provides a simple helper to get an HTML select list of countries and regions. The list of countries comes from iso-codes package and follows IBM Globalization guideline to avoid culturally-sensitive issues in Taiwan and China.

This plugin is modified from Rails iso-3166-country-select plugin and licensed under the MIT

Example

country_select("user", "country_name")
Something went wrong with that request. Please try again.