bullet_train-themes-tailwind_css 1.6.36 → 1.6.37
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce9530d71a8361c6bb456c4beaa6642cc46a07e1648bdd1c1e1e3faab4b3fd11
|
4
|
+
data.tar.gz: 77d4a161e7b7881856d7c25edacbc78dfa8e584e3a3b3b5d9496353b810a63b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 451de0ae19122a55f1e4f3c58c03cfb0c54bd95a430f170cdf6fac3ffac00e3c0e72d4794bbed9930c3b398b3b64b5e0421e724e7abdb2d2fa9946600f8eb1f2
|
7
|
+
data.tar.gz: ffbe849948b162119d434f3e71da9447d42801dbd03542f09cc79bc9a8847fb56a3005104aace60b91e71c3a8221de71d047bde4577ab6980c03e69107ce2492
|
@@ -18,7 +18,7 @@ options[:placeholder] ||= labels.placeholder if labels.placeholder
|
|
18
18
|
other_options ||= {}
|
19
19
|
other_options[:help] = [other_options[:help], labels.help].compact.join(" ")
|
20
20
|
|
21
|
-
errors = [method, method.to_s.
|
21
|
+
errors = [method, method.to_s.delete_suffix("_id").to_sym].uniq.map { |attribute| form.object.errors.full_messages_for(attribute) }.flatten
|
22
22
|
has_errors = errors.any? || partial.error? || other_options[:error].present?
|
23
23
|
|
24
24
|
options[:class] = "#{options[:class]} block w-full rounded-md shadow-sm font-light"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes-tailwind_css
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|