You are here: Browse Railsplugins Form Helper Css
= form_helper_css
== Description
This plugin enhances the default tag helpers to automatically add CSS classes to form elements. It’s similar to the enhanced_form_tag_helper plugin, but takes a different approach by directly intercepting the tag and content_tag methods, and should therefore work in all situations where form elements are created, especially the FormHelper and more exotic ones like button_to.
The following elements are enhanced:
If any helper options already specify a class, nothing will be changed. If you don’t want a class to be added, pass :class => nil.
LicenseThe form_helper_css plugin is released under the MIT license.
AuthorMarkus Koller <toupeira ch gmx at dot>
http://snafu.diarrhea.ch
24 December 2006
NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly