Project

rrule_form

0.0
No commit activity in last 3 years
No release in over 3 years
This is a rails wrapper for rrule-generater-form jquery plugin
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

RruleForm

This is a gem wrapping up the javascript and html required for collecting rrule string.

The gem inspired from https://github.com/superherogeek/rrule-generator-form

Installation

Add this line to your application's Gemfile:

gem 'rrule_form'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install rrule_form

Add following to application.js

//= require rrule-gui.js

The javascript under this gem needs some dependencies required:

  1. jquery
  2. jquery-ui/widgets/datepicker
  3. bootstrap css for stylesheets
  4. bootstrap js for modal usage

The javascript part of this gem handles the form manipulation of the form

Usage

This gem will provide with a helper which will.

rrule_form_for(selector, callback=nil)

selector would be jquery selector for the field to be assigned with rrule field.

Development

This gem is in draft state to provide the basic working of a form that handles all types of recurrence.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ravi-ture/rrule_form.

License

The gem is available as open source under the terms of the MIT License.