Sha256: 7d632299c0612ea8eeec85c3ed9494d1259e348ebb158ec658d560f13cd12648

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

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 Country 2 Code abbreviations to select menu.

Example
=======

# Standard, full country names
country_select("user", "country_name")

# Two-character abbreviations as the select values
country_select("user", "country_abbreviation", [['United States','US']], {:country_code => 2})

Copyright (c) 2008 Michael Koziarski, released under the MIT license

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nbrew-country_select-0.0.1 README.md