Plugins - Label helpers
Add to favoritesWhile Rails up to version 1.0 includes some excellent form helpers, there are a few obvious missing pieces. The most obvious missing helper was for label elements. This isn't terribly surprising, since writing a label element is pretty trivial. But what if there were more to offer?
The label helper will not only figure out the right for attribute to use for the object you are labeling, but will also include error information for the labeled object and method. Why would you want to do this?
This inspiration came from reading Simply Accessible's article on form error messages: http://simplyaccessible.org/article/form-error-messages. This is a good technique for both form accessibility and usability.
http://www.eric-stewart.com/blog/articles/2006/01/13/label-me-please
http://www.eric-stewart.com/svn/rails/plugins/label_helpers
Rails' (MIT)
View Extensions
