Sha256: a57d1423e5301a169eb9c91d13c5b847ccb4da69e762c01a0f3a277d076923f8

Contents?: true

Size: 979 Bytes

Versions: 2

Compression:

Stored size: 979 Bytes

Contents

foundation-datepicker-rails
===

A ruby gem that implements the `foundation-datepicker` functionality. The project can be found on its [Github](https://github.com/najlepsiwebdesigner/foundation-datepicker) 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](https://github.com/bokmann/font-awesome-rails) or [foundation-icons-sass-rails](https://github.com/zaiste/foundation-icons-sass-rails)

Next, call the datepicker via javascript:


`$('.datepicker').fdatepicker()`

There are numerous options for the datepicker. You can find them [here](http://foundation-datepicker.peterbeno.com/example.html).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foundation-datepicker-rails-0.0.3 README.md
foundation-datepicker-rails-0.0.2 README.md