lato 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/lato/components_helper.rb +1 -1
- data/lib/lato/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bd1de804af1f92a505d96cc38479be01ffa40b0df47057c407f12c927136d93
|
4
|
+
data.tar.gz: b30506ea8583ba135af5a2232530911bdc1e783b058151d6ea7500fd481991c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c58d5ad0c8eb76bb98c6ebbcec616a5f3242527e2a1620a911a49ea1fd9fceb3ef1df64445a45935fb5d7c72947752aed1b84233039b33600f209cf9477472b0
|
7
|
+
data.tar.gz: 54517b2bbad2498725b9174ebddbe352d2a4d3084aef8175e2b33123eea10633d33dfe1e6b628cb1e9d21900037e7dd8b2b47475f887005ed7ed72f6eaa6fc30
|
@@ -75,7 +75,7 @@ module Lato
|
|
75
75
|
# setup classes
|
76
76
|
options[:class] ||= []
|
77
77
|
options[:class].push(classes)
|
78
|
-
options[:class].push('is-invalid') if form.object
|
78
|
+
options[:class].push('is-invalid') if form.object && form.object.errors[key] && form.object.errors[key].any?
|
79
79
|
|
80
80
|
# setup stimulus
|
81
81
|
options[:data] ||= {}
|
data/lib/lato/version.rb
CHANGED