A view helper that creates simple markup for inline errors
Erroneous is a Ruby on Rails view helper that creates simple markup for inline errors.
The gem is tested with:
gem install erroneous
<%= errors @user, :name %>
<div class="errors">can't be blank</div>
<%= errors @user, :phone %>
<div class="errors">can't be blank and should look like a phone number</div>
<%= errors @user, :email %>
<div class="errors">can't be blank and should look like an email address</div>
Copyright (c) 2010 - 2012 Kevin Sylvestre. See LICENSE for details.