Sunday, 17 November 2019

How to use datepicker gem in rails

 How to use datepicker gem in rails



1. Include bootstrap-datepicker-rails in Gemfile
     gem 'bootstrap-datepicker-rails'

2. Add this line to app/assets/stylesheets/application.css
   *= require bootstrap-datepicker3

3. Add this line to app/assets/javascripts/application.js
     //= require jquery3
     //= require bootstrap-sprockets
    //= require bootstrap-datepicker 



No comments:

Post a Comment

  Common Git Commands   Take clone of a repository git clone <remote-repository-url> ex: git clone  https://github.com/agricor/RegTech...