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 | 4 | "<div class=\"string\">" + |
5 | 5 | label(field, options[:label] || {}) + |
6 | 6 | text_field(field, options[:text_field] || {}) + |
7 | - "<div>" | |
7 | + "</div>" | |
8 | 8 | end |
9 | 9 | |
10 | 10 | def password(field, *args) |
... | ... | @@ -12,7 +12,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder |
12 | 12 | "<div class=\"password\">" + |
13 | 13 | label(field, options[:label] || {}) + |
14 | 14 | password_field(field, options[:password_field] || {}) + |
15 | - "<div>" | |
15 | + "</div>" | |
16 | 16 | end |
17 | 17 | |
18 | 18 | def boolean(field, *args) |
... | ... | @@ -20,7 +20,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder |
20 | 20 | "<div class=\"boolean\">" + |
21 | 21 | check_box(field, options[:check_box] || {}) + |
22 | 22 | label(field, options[:label] || {}) + |
23 | - "<div>" | |
23 | + "</div>" | |
24 | 24 | end |
25 | 25 | |
26 | 26 | def numeric(field, *args) |
... | ... | @@ -28,7 +28,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder |
28 | 28 | "<div class=\"numeric\">" + |
29 | 29 | label(field, options[:label] || {}) + |
30 | 30 | text_field(field, options[:text_field] || {}) + |
31 | - "<div>" | |
31 | + "</div>" | |
32 | 32 | end |
33 | 33 | alias :integer :numeric |
34 | 34 | alias :float :numeric |
... | ... | @@ -39,7 +39,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder |
39 | 39 | "<div class=\"text\">" + |
40 | 40 | label(field, options[:label] || {}) + |
41 | 41 | text_area(field, options[:text_area] || {}) + |
42 | - "<div>" | |
42 | + "</div>" | |
43 | 43 | end |
44 | 44 | |
45 | 45 | # form.belongs_to :user | ... | ... |