GitXplorerGitXplorer
M

activecalendar

public
5 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
662d05b9e3fffd30c47945ce8300193ff6199bee

removed the function that was causing some problems...

committed 17 years ago
Unverified
ea6dc76c9ef95006501e0136c6adea6e5eb37b29

removed some new lines...

committed 17 years ago
Unverified
22f6ea10539681141bb2bbf0553253ae048c8c1b

Changed the error box back (now includes the image again).

committed 17 years ago
Unverified
23891a7c94655578a3a42c86ccd2b8454e5a679d

Now the error box surrounds only the text box (not the image as it was)

committed 17 years ago
Unverified
bb5cb06c342b6599cfd52f11860ea011d31b7b07

Now when there is a validation error for a date, it get the fieldWithErrors div surrounding it...

committed 17 years ago
Unverified
2d8dece8d3346f68f915cf88ea46f8acc6acf551

Added some validators (adapted from Stuart Rackham's code available here: http://snippets.dzone.com/posts/show/1548)

committed 17 years ago

README

The README file for this repository.

Calendar

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" %>