semantic_form_for 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -44,10 +44,10 @@ class SemanticFormFor::FormBuilder < ActionView::Helpers::FormBuilder
|
|
44
44
|
when :check_box then
|
45
45
|
template.haml_concat super(attribute, options)
|
46
46
|
template.haml_concat self.label(attribute, text)
|
47
|
-
template.haml_tag :
|
47
|
+
template.haml_tag :span, error if error.present?
|
48
48
|
else
|
49
49
|
template.haml_concat self.label(attribute, text)
|
50
|
-
template.haml_tag :
|
50
|
+
template.haml_tag :span, error if error.present?
|
51
51
|
template.haml_concat super(attribute, options)
|
52
52
|
end
|
53
53
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 4
|
9
|
+
version: 0.3.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Stephen Touset
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-13 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|