erroneous 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -1
- data/lib/erroneous/version.rb +1 -1
- data/lib/erroneous.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= Erroneous
|
2
2
|
|
3
|
-
Erroneous is a Rails view
|
3
|
+
Erroneous is a Ruby on Rails view helper that creates simple markup for inline errors.
|
4
4
|
|
5
5
|
== Installation
|
6
6
|
|
@@ -9,6 +9,13 @@ Erroneous is a Rails view generator that creates simple markup for inline errors
|
|
9
9
|
== Examples
|
10
10
|
|
11
11
|
<%= errors @user, :name %>
|
12
|
+
<div class="errors">can't be blank</div>
|
13
|
+
|
14
|
+
<%= errors @user, :phone %>
|
15
|
+
<div class="errors">can't be blank and should look like a phone number</div>
|
16
|
+
|
17
|
+
<%= errors @user, :email %>
|
18
|
+
<div class="errors">can't be blank and should look like an email address</div>
|
12
19
|
|
13
20
|
== Copyright
|
14
21
|
|
data/lib/erroneous/version.rb
CHANGED
data/lib/erroneous.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kevin Sylvestre
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2011-01-21 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|