Use Simple Calendar rails in Cells.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install simple_calendar_cells
To use the SimpleCalendar gem within your Cells view models, just do
class Schedule < Cell::ViewModel include SimpleCalendar::Cells # include this module
month_calendar from simple calendar in your cell will work.
After checking out the repo, run
bin/setup to install dependencies. Then, run
rake test to run the tests. You can also run
bin/console for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub at https://github.com/imamulakhyar93/simple_calendar_cells. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.