Skip to content

The plugin is basically used for the selection of indian cities...

Notifications You must be signed in to change notification settings

abhishekpshukla/city_select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CitySelect
==========

City Select plugin is currently used for selection of the indian cities, based on the parameter(state name) which
user parse... 




Note
====
If you are not able to find the city name please update the city_name.rb file which is located inside the lib 
folder of the application...

Example
=======
<% form_for(@user) do |f| %> 
 <%= f.city_select(:city, city = 'Maharashtra', options = {}, html_options = {}) %>
 
  OR
  
 <%= city_select(:user, :city, city = 'Maharashtra', options = {}, html_options = {}) %>
<%end%>

Please visit "http://worldofopensource.blogspot.com/2010/03/cityselect-plugin-to-display-list-of.html" to see the Example using jQuery.

About

The plugin is basically used for the selection of indian cities...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages