Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Latest commit 0889d96
Sep 29, 2008
|Failed to load latest commit information.|
AutoClassInputTags ================== Automatically adds a class to all <input /> tags, equal to the "type" attribute of the tag. So in the case of <input type="text" />, you would get <input type="text" class="text" />. This is useful for styling elements in mentally challenged browsers who have not implemented CSS attribute selectors. Example ======= Since this monkey patches ActionView::Helpers::TagHelper#tag(), all Rails helpers which output tags should automatically gain the correct classes. Copyright (c) 2008 Nathan de Vries (http://www.atnan.com), released under the MIT license