- Notifications
You must be signed in to change notification settings - Fork122
This gem packages the bootstrap-datetimepicker for the Rails 3.1+ asset pipeline.
License
TrevorS/bootstrap3-datetimepicker-rails
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This gem packages thebootstrap-datetimepicker for the Rails 3.1+ asset pipeline.
Eonasdan's fork of tarruda'sbootstrap-datetimepicker isactively maintained and works withBootstrap3.
momentjs-rails is a required dependency.
Add these lines to your application's Gemfile:
gem'momentjs-rails','>= 2.9.0'gem'bootstrap3-datetimepicker-rails','~> 4.17.47'
And then execute:
$ bundle
Or install it yourself:
$ gem install momentjs-rails$ gem install bootstrap3-datetimepicker-rails
To start using the bootstrap-datetimepicker plugin in your Rails application, enable it via the asset pipeline.
If your server is running, you will need torestart Rails before using the gem.
Add the following to your JavaScript manifest file (application.js):
//= require moment//= require bootstrap-datetimepicker
If you want to include a localization, also add:
//= require moment/<locale>Add the following to your style sheet file:
If you are using SCSS, modify yourapplication.css.scss
// import bootstrap-sprockets before bootstrap if using bootstrap >= 3.2@import'bootstrap-sprockets';@import'bootstrap';@import'bootstrap-datetimepicker';
If you're using plain CSS, modify yourapplication.css
*= require bootstrap*= require bootstrap-datetimepicker
Check out the documentation at:http://eonasdan.github.io/bootstrap-datetimepicker/
Clonehttps://github.com/TrevorS/bs3dp-test and try to reproduce your issue.
- Fork it
- 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 new Pull Request
About
This gem packages the bootstrap-datetimepicker for the Rails 3.1+ asset pipeline.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Contributors6
Uh oh!
There was an error while loading.Please reload this page.
