state_select plugin allows you to easyly create dropdown list of states for a country provided as an option.
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits ahead, 18 commits behind bansalakhil:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
lib
test
README
init.rb
install.rb

README

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
	
	*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 
   bansalakhil30.10@gmail.com
   http://webonrails.com
   New Delhi, India