bootstrap3_form_builder 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da1778ffc1cf874484e6ea5f6f84b9da4beaa95c
|
4
|
+
data.tar.gz: 7375cdbbde00efae93e345da94779ebe940dd38b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d2e2f61ff30889f55deb4ded8c76e2512bcac4e028b7c12933383ff3c422c31fd1b9e6382ddbd3be10f104581ce02480cd7843e36bdb98da0c940a942377a14
|
7
|
+
data.tar.gz: ad6880a87f32962ac656701135666e1f619f9671b445a9038e7a681979be56e8885529c89c0cebfccb6dc020c49a76917e7dc121a562e718bb79c9369f003106
|
@@ -141,7 +141,7 @@ Generates form fields that work with Twitter Bootstrap 3.
|
|
141
141
|
end
|
142
142
|
|
143
143
|
def control_group_class(label)
|
144
|
-
|
144
|
+
unless @object.errors.messages[label].blank? && @object.errors.messages[label.to_sym].blank?
|
145
145
|
return "form-group error"
|
146
146
|
end
|
147
147
|
|