tramway 0.4.5 → 0.4.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/components/tailwinds/form/builder.rb +4 -1
- data/lib/tramway/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: ef5809ca8f857fbc319595ce2ada4409120a4a89dc657bf2f7625e9b329d7d47
|
4
|
+
data.tar.gz: da8094f83cc2f21d4470afef2311c790a079f9597aee99ebb448ea98cb83df61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8e9018040b8068c41e98f57682d12e3e08ce191ebef5c252185ff8ccacfbd71f75d6935a03e35c883e240ee5b402fd997c934779faf831e112cf46fe5d3c073
|
7
|
+
data.tar.gz: e51b2512f9c078a2f094d4fb027c038c097ac7c1a4410da898563abc9eac2c94fa1e84f51e3438576ac9785b2e8ee6999b1b18b8505f1ab9c85be1095e1a7c3c
|
@@ -60,8 +60,11 @@ module Tailwinds
|
|
60
60
|
end
|
61
61
|
|
62
62
|
# :reek:UtilityFunction
|
63
|
+
# :reek:NilCheck
|
63
64
|
def label_build(attribute, options)
|
64
|
-
options[:label]
|
65
|
+
label_option = options[:label]
|
66
|
+
|
67
|
+
label_option.nil? ? attribute.to_s.humanize : label_option
|
65
68
|
end
|
66
69
|
|
67
70
|
def for_id(attribute)
|
data/lib/tramway/version.rb
CHANGED