Plugins - inputs_with_class
Add to favoritesSimple, thorough, well tested, and easily configurable…
- Input tags get classed for their ‘type’ value (class=’text/submit/radio/etc’)
- Select lists get classed as ‘single’ or ‘multiple’.
- Add an optional class-name prefix.
- Generate a starter stylesheet with default styles.
- Plays nice with ad-hoc classing.
- Get unclassy again with :class => false
- 25 tests confirm functionality.
Detailed usage info here: http://ror.leewbutler.com/2008/04/inputswithclass.html
http://ror.leewbutler.com/2008/04/inputswithclass.html
git://github.com/leewbutler/inputs_with_class.git
Rails' (MIT)
View Extensions
