forked from rails/country_select
-
Notifications
You must be signed in to change notification settings - Fork 0
Country Select Plugin (with removal option)
License
geetfun/country_select
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
CountrySelect
=============
Provides a simple helper to get an HTML select list of countries. The list of countries comes from the ISO 3166 standard. While it is a relatively neutral source of country names, it will still offend some users.
Users are strongly advised to evaluate the suitability of this list given their user base.
*** added removal option ***
New format is:
country_select(method, removed_countries = nil, priority_countries = nil, options = {}, html_options = {})
removed_countries is in the form of an Array
Example
=======
country_select("user", "country_name")
Copyright (c) 2008 Michael Koziarski, released under the MIT license
** Modifications
Copyright (c) 2009 Simon Chiu, released under the MIT licenseAbout
Country Select Plugin (with removal option)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 100.0%