Having worked with Rails for the past few weeks, I have discovered that it is awesome fun. So, when I encountered the time_select method of the DateHelper classes, and found that it outputs two drop downs for a single time (hours and minutes, three if you include seconds), I was not too happy.

Therefore I made a plugin for a single select for time. Time Picker is a plugin that gives you a nice view helper function for picking times.

So to install :

script/plugin install svn://rubyforge.org/var/svn/timepicker/trunk

or

svn propset svn:externals 'timepicker svn://rubyforge.org/var/svn/timepicker/trunk' vendor/plugins

This plugin is still quite alpha, so please use it and feel free report any problems or suggestions to me.

Sphere: Related Content

Leave a Reply

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click on the image to regenerate some new text.

Anti-Spam Image