Skip to content

rookylu/date_picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DatePicker

A plugin that packages My97datepicker with sensible default styles and settings.

Simply add the class ‘datepicker’ to any textbox you want a calendar for.

Suport IE FF Chorme…

Installation

  1. Install the datepicker plugin from github:

    $ ruby script/plugin install git://github.com/Lucipher/date_picker.git
  2. Add ‘WdatePicker.js` and `datepicker.js` to your javascripts in your default layout:

<%= javascript_include_tag ‘./DatePicker/WdatePicker’,‘datepicker’ -%>

Example

Just add the CSS class ‘datepicker’ to any textbox to get a datepicker for it.

<%= f.text_field :created_at, :class => 'datepicker' %>

Copyright © 2011 [Lucipher], released under the MIT license

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published