Commit fe19b6963f1137cef02500678e5675e708080984
1 parent
9709aaa9
Exists in
master
and in
1 other branch
updated semi_formal
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
vendor/plugins/semi_formal/lib/semi_formal.rb
@@ -4,7 +4,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | @@ -4,7 +4,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | ||
4 | "<div class=\"string\">" + | 4 | "<div class=\"string\">" + |
5 | label(field, options[:label] || {}) + | 5 | label(field, options[:label] || {}) + |
6 | text_field(field, options[:text_field] || {}) + | 6 | text_field(field, options[:text_field] || {}) + |
7 | - "<div>" | 7 | + "</div>" |
8 | end | 8 | end |
9 | 9 | ||
10 | def password(field, *args) | 10 | def password(field, *args) |
@@ -12,7 +12,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | @@ -12,7 +12,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | ||
12 | "<div class=\"password\">" + | 12 | "<div class=\"password\">" + |
13 | label(field, options[:label] || {}) + | 13 | label(field, options[:label] || {}) + |
14 | password_field(field, options[:password_field] || {}) + | 14 | password_field(field, options[:password_field] || {}) + |
15 | - "<div>" | 15 | + "</div>" |
16 | end | 16 | end |
17 | 17 | ||
18 | def boolean(field, *args) | 18 | def boolean(field, *args) |
@@ -20,7 +20,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | @@ -20,7 +20,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | ||
20 | "<div class=\"boolean\">" + | 20 | "<div class=\"boolean\">" + |
21 | check_box(field, options[:check_box] || {}) + | 21 | check_box(field, options[:check_box] || {}) + |
22 | label(field, options[:label] || {}) + | 22 | label(field, options[:label] || {}) + |
23 | - "<div>" | 23 | + "</div>" |
24 | end | 24 | end |
25 | 25 | ||
26 | def numeric(field, *args) | 26 | def numeric(field, *args) |
@@ -28,7 +28,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | @@ -28,7 +28,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | ||
28 | "<div class=\"numeric\">" + | 28 | "<div class=\"numeric\">" + |
29 | label(field, options[:label] || {}) + | 29 | label(field, options[:label] || {}) + |
30 | text_field(field, options[:text_field] || {}) + | 30 | text_field(field, options[:text_field] || {}) + |
31 | - "<div>" | 31 | + "</div>" |
32 | end | 32 | end |
33 | alias :integer :numeric | 33 | alias :integer :numeric |
34 | alias :float :numeric | 34 | alias :float :numeric |
@@ -39,7 +39,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | @@ -39,7 +39,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder | ||
39 | "<div class=\"text\">" + | 39 | "<div class=\"text\">" + |
40 | label(field, options[:label] || {}) + | 40 | label(field, options[:label] || {}) + |
41 | text_area(field, options[:text_area] || {}) + | 41 | text_area(field, options[:text_area] || {}) + |
42 | - "<div>" | 42 | + "</div>" |
43 | end | 43 | end |
44 | 44 | ||
45 | # form.belongs_to :user | 45 | # form.belongs_to :user |