bullet_train-themes-tailwind_css 1.6.36 → 1.6.38
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: c00371972891832462f3b34b69cfec0ecf77b804b772f45fd217c5fc570a5f99
|
4
|
+
data.tar.gz: a141fc86508ba07ef6fed1676889fe18c4476726913a68eb968d1ac51456a516
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9480f0d951ab55023304a2c3d5ab3e1e990020ed7bdee36439b71b3801834ef772f2ca9cd292c69e8fe955acc4d3b97427b4bffe69a4bbf243be93e0b58fa33
|
7
|
+
data.tar.gz: 95d3b07ce1a0251eb976bb2f08025bc2f444658558556b9ce1fc9a86719e5416d68d6ef6c7ccaf96516cb46f0293c3eecec9f5097ae28157f560217eb734fb52
|
@@ -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.38
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|