erroneous 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.rdoc +4 -28
  2. data/lib/erroneous/version.rb +1 -1
  3. metadata +2 -2
data/README.rdoc CHANGED
@@ -1,38 +1,14 @@
1
- = Formula
1
+ = Erroneous
2
2
 
3
- Formula is a Rails form generator that generates simple clean markup. The project aims to let users create semantically beautiful forms without introducing too much syntax. The goal is to make integrating advanced layout systems (such as grid systems) as simple as possible.
3
+ Erroneous is a Rails view generator that creates simple markup for inline errors.
4
4
 
5
5
  == Installation
6
6
 
7
- gem install formula
7
+ gem install erroneous
8
8
 
9
9
  == Examples
10
10
 
11
- <% formula_form_for @user do |f| %>
12
- <%= f.input :email %>
13
- <%= f.input :password %>
14
- <% end %>
15
-
16
- <% formula_form_for @user do |f| %>
17
- <%= f.input :email, :label => "Email:", :hint => "We promise never to bother you." %>
18
- <%= f.input :password, :label => "Password:", :hint => "Must be at least six characters." %>
19
- <% end %>
20
-
21
- <% formula_form_for @company do |f|
22
- <%= f.input :url, :class => 'grid-04' %>
23
- <%= f.input :phone, :class => 'grid-04' %>
24
- <%= f.input :email, :class => 'grid-04' %>
25
- <% end %>
26
-
27
- <% formula_form_for @user do |f| %>
28
- <%= f.input :email, :label => "Email:", :class => 'grid-06 %>
29
- <%= f.input :password, :label => "Password:", :class => 'grid-06' %>
30
- <% formula_fields_for @user.payment do |payment_f| %>
31
- <%= f.input :credit_card_number, :label => 'Number:', :class => 'grid-08' %>
32
- <%= f.input :credit_card_verification, :label => 'CVV:', :class => 'grid-02' %>
33
- <%= f.input :credit_card_expiration, :label => 'Expiration:', :class => 'grid-02' %>
34
- <% end %>
35
- <% end %>
11
+ <%= errors @user, :name %>
36
12
 
37
13
  == Copyright
38
14
 
@@ -1,3 +1,3 @@
1
1
  module Erroneous
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kevin Sylvestre