Skip to content

Rails 2.x date and datetime helpers with javascript calendar (gemified)

Notifications You must be signed in to change notification settings

lukewendling/activecalendar

 
 

Repository files navigation

lukewendling-activecalendar

Notes
===========================
text field size can now be specified in 'option' arg to either helper (todo: move to html_options arg)


Calendar (original readme)
==========

The calendar plugin is a rails plugin that enables changes the default date and datetime renderers to use the jscalendar library (http://www.dynarch.com/projects/calendar/).

Once you install the plugin, rails will automatically try to render and date or datetime fields using this plugin. However, it won't work properly until you include the necessary javascripts and stylesheets in your layout as follows:

  <%= stylesheet_link_tag "/javascripts/jscalendar-1.0/calendar-win2k-cold-1.css" %>
  <%= javascript_include_tag "jscalendar-1.0/calendar.js" %>
  <%= javascript_include_tag "jscalendar-1.0/lang/calendar-en.js" %>
  <%= javascript_include_tag "jscalendar-1.0/calendar-setup.js" %>

About

Rails 2.x date and datetime helpers with javascript calendar (gemified)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.8%
  • Ruby 4.0%
  • PHP 3.2%