Skip to content

geetfun/country_select

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 license

About

Country Select Plugin (with removal option)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 100.0%