Skip to content

Ruby on Rails gem for automatic form error field styling using Foundation 4

License

Notifications You must be signed in to change notification settings

vanboom/foundation_error_styling

Repository files navigation

FoundationErrorStyling

This gem configures your Ruby on Rails application to style form field errors using Foundation 4 error class tags.

Installation

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

Usage

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.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Ruby on Rails gem for automatic form error field styling using Foundation 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages