PersianDatepickerJs
A gem for adding PersianDatepicker(0.4.5) JS library to your Rails project.
This gem requires that you have PersianDate installed. You could use persian_date_js gem.
Installation
Add this line to your application's Gemfile:
gem 'persian_datepicker_js'And then execute:
$ bundle
Or install it yourself as:
$ gem install persian_datepicker_js
Then add the following line to your application.js file:
//= require persian_datepicker_js_mainThen add the following line to your application.css file:
*= require persian_datepicker_js_mainContributing
- Fork it ( https://github.com/psparabara/persian_datepicker_js/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request