This gem configures your Ruby on Rails application to style form field errors using Foundation 4 error class tags.
Add this line to your application's Gemfile:
gem 'foundation_error_styling'
And then execute:
$ bundle
Or install it yourself as:
$ gem install foundation_error_styling
Write your forms as normal. When form validation errors appear, the fields will be given a class of "error" per the Zurb Foundation Framework docs instead of the standard rails error class.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request