Sha256: c894ecccafde0c97e1329ed98a7c97418b0ae98b330592837e8e27c52b614554

Contents?: true

Size: 539 Bytes

Versions: 2

Compression:

Stored size: 539 Bytes

Contents

= Erroneous

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

== 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 - 2011 Kevin Sylvestre. See LICENSE for details.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
erroneous-0.0.5 README.rdoc
erroneous-0.0.4 README.rdoc