Skip to content

peeyush1234/foundation-datepicker-rails

Repository files navigation

foundation-datepicker-rails

A ruby gem that implements the foundation-datepicker functionality. The project can be found on its Github page.

##Installation Add this to your Gemfile:

gem 'foundation-datepicker-rails'

and run bundle install.

##Usage Include these lines in app/assets/stylesheets/application.css.scss:

/*
 *= require foundation-datepicker
 */

Include this lines in app/assets/javascripts/application.js:

//
//= require foundation-datepicker
//

Note: to see the arrows and icons, please include font-awesome or foundation-icons-sass-rails

Next, call the datepicker via javascript:

$('.datepicker').fdatepicker()

There are numerous options for the datepicker. You can find them here.

About

Simple assets gem for foundation-datepicker, whose documentation can be found here: http://foundation-datepicker.peterbeno.com/example.html

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published