formula 0.1.4 → 0.1.5
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.
- data/README.rdoc +15 -9
- data/lib/formula/version.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
|
@@ -19,21 +19,27 @@ Formula is a Rails form generator that generates simple clean markup. The projec
|
|
|
19
19
|
<% end %>
|
|
20
20
|
|
|
21
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' %>
|
|
22
|
+
<%= f.input :url, :container => { :class => 'grid-04' } %>
|
|
23
|
+
<%= f.input :phone, :container => { :class => 'grid-04' } %>
|
|
24
|
+
<%= f.input :email, :container => { :class => 'grid-04' } %>
|
|
25
25
|
<% end %>
|
|
26
26
|
|
|
27
27
|
<% formula_form_for @user do |f| %>
|
|
28
|
-
<%= f.input :email, :label => "Email:"
|
|
29
|
-
<%= f.input :password, :label => "Password:"
|
|
28
|
+
<%= f.input :email, :label => "Email:" %>
|
|
29
|
+
<%= f.input :password, :label => "Password:" %>
|
|
30
30
|
<% formula_fields_for @user.payment do |payment_f| %>
|
|
31
|
-
<%=
|
|
32
|
-
<%=
|
|
33
|
-
<%= f.input :credit_card_expiration, :label => 'Expiration:', :class => 'grid-02' %>
|
|
31
|
+
<%= payment_f.input :credit_card_number, :label => 'Number:' %>
|
|
32
|
+
<%= payment_f.input :credit_card_expiration, :label => 'Expiration:' %>
|
|
34
33
|
<% end %>
|
|
35
34
|
<% end %>
|
|
36
|
-
|
|
35
|
+
|
|
36
|
+
<% formula_form_for @user do |f| %>
|
|
37
|
+
<%= f.block :favourite %>
|
|
38
|
+
<% @favourites.each do |favourite| %>
|
|
39
|
+
...
|
|
40
|
+
<% end %>
|
|
41
|
+
<% end %>
|
|
42
|
+
|
|
37
43
|
== Copyright
|
|
38
44
|
|
|
39
45
|
Copyright (c) 2010 Kevin Sylvestre. See LICENSE for details.
|
data/lib/formula/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 5
|
|
9
|
+
version: 0.1.5
|
|
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: 2010-12-
|
|
17
|
+
date: 2010-12-22 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|