Erroneous

A view helper that creates simple markup for inline errors

View the Project on GitHub ksylvest/erroneous

Erroneous

Erroneous is a Ruby on Rails view helper that creates simple markup for inline errors.

Requirements

The gem is tested with:

Installation

gem install erroneous

Examples

<%= 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

Copyright (c) 2010 - 2012 Kevin Sylvestre. See LICENSE for details.