satis 2.0.9 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/satis/components/form.css +7 -1
- data/lib/satis/forms/builder.rb +1 -2
- data/lib/satis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f91c8c6daa20c366d35d13987b245f216d1b550a693813e7f32e0af4c3b2c66
|
4
|
+
data.tar.gz: 747f802bb8212519905a86b44330e1bcd0e297f1a9fedfa0930e7be525a8a93f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f5e8c79720994c1d0bd2de4a1e198246e44005231bb6d4bf2258ca67ae0115404627310d39a57ab1b9b4ecfeb7d037e7863de7bcaff047fcb6e9311a65f406b
|
7
|
+
data.tar.gz: 6e1bea1edb2d629af392f10dc06fc57e039285dd9ed7ed3a312a31f50dc2418e72db646dcac99ba6aeb2e3c601d4ea72d8be0448c72943316d714d38bfef9d58
|
@@ -69,7 +69,13 @@ form {
|
|
69
69
|
margin-right: 0.5rem;
|
70
70
|
|
71
71
|
&:checked {
|
72
|
-
@apply border border-primary-
|
72
|
+
@apply border border-primary-600 bg-primary-600;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.custom-checkbox {
|
77
|
+
.custom-control-label {
|
78
|
+
@apply text-sm;
|
73
79
|
}
|
74
80
|
}
|
75
81
|
|
data/lib/satis/forms/builder.rb
CHANGED
@@ -411,8 +411,7 @@ module Satis
|
|
411
411
|
options[:text_method] ||= options[:label_method] || :first
|
412
412
|
form_group(method, options) do
|
413
413
|
safe_join [
|
414
|
-
|
415
|
-
tag.br,
|
414
|
+
(custom_label(method, options[:label], options) unless options[:label] == false),
|
416
415
|
(send(form_builder_method, method, options[:collection], options[:value_method],
|
417
416
|
options[:text_method]) do |b|
|
418
417
|
tag.div(class: "custom-control #{custom_class}") do
|
data/lib/satis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: satis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom de Grunt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: browser
|