BehzadiPersianDatepicker

Rails plugin for persianDatepicker JS library.

Installation

Add this line to your application's Gemfile:

gem 'behzadi_persian_datepicker'

And then execute:

$ bundle

Or install it yourself as:

$ gem install behzadi_persian_datepicker

Usage

Require javascript file in your application.js file:

//= require persianDatepicker.min

And require the theme you want to use in your application.css file:

*= require persianDatepicker-dark

Or:

*= require persianDatepicker-default

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/psparabara/behzadi_persian_datepicker.

License

The gem is available as open source under the terms of the MIT License.