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

Rails gem for foundation-datepicker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%