= styled_inputs
+styled_inputs+ adds automated styling of input fields with css classes.
== Resources
API
* http://api.pluginaweek.org/styled_inputs
Bugs
* http://pluginaweek.lighthouseapp.com/projects/13289-styled_inputs
Development
* http://github.com/pluginaweek/styled_inputs
Source
* git://github.com/pluginaweek/styled_inputs.git
== Description
Normally, it is difficult to style inputs without adding classes to them so
that you can specify css for each type of input. Since this can become a
tedious manual task, styled_inputs automatically adds a classes to each
input that is generated either by tag or form helpers. The class that is
specified is the type of input being generated.
== Usage
=== Tags
text_field_tag('name') # =>
hidden_field_tag('name') # =>
=== Form helpers
text_field(:person, :name) # =>
hidden_field(:person, :name) # =>
== Testing
Before you can run any tests, the following gem must be installed:
* plugin_test_helper[http://github.com/pluginaweek/plugin_test_helper]
To run against a specific version of Rails:
rake test RAILS_FRAMEWORK_ROOT=/path/to/rails
== Dependencies
* Rails 2.0 or later