forked from bansalakhil/state_select
-
Notifications
You must be signed in to change notification settings - Fork 4
state_select plugin allows you to easyly create dropdown list of states for a country provided as an option.
License
buger/state_select
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
StateSelect
=============
state_select plugin allows you to easyly create dropdown list of states for a country provided as an option.
Default counrty is US.
Usage:
state_select(object, method, country='US', options = {}, html_options = {})
Currently it supports only INDIA, US, UK, CANADA, AUSTRALIA, SPAIN, FRANCE, UGANDA, GERMAN and NETHERLANDS
=============================================
Tested with Rails 2.3.* and Rails 3.0.0.beta
=============================================
*Thanks keith(http://rubygreenblue.com/) for Australia states
*Thanks Vicent (http://www.vicentgozalbes.com/) for Spain states
*Thanks Chuck Phillips for Uganda states
*Thanks Jonathan Tron for France states
*Thanks Gavin Morrice(http://handyrailstips.com/) for UK States
If you want to add other country plese send me the list of states and I will add them, or you can fork and make a pull request.
Author:
Akhil Bansal
[email protected]
http://webonrails.com
New Delhi, India
About
state_select plugin allows you to easyly create dropdown list of states for a country provided as an option.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Ruby 100.0%