effective_bootstrap 0.6.27 → 0.6.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/effective_bootstrap_helper.rb +2 -2
- data/lib/effective_bootstrap/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: '008d5a68b036c26307af6fce976ace4793eb56f3044abeb8d2457f7f776b1978'
|
4
|
+
data.tar.gz: 87ac2c105846593df72ffaab8b1801a30c5856b88056dada7c34ed833fde6928
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b74c6259d0c20ff34207b03f26cfc15f0de84e157c2a6fc5419710b9f969470443bb3eb0dfba7e1beeae9380ee9e3d03d399bc6bf8dc0cf836b1c2aadb545d2
|
7
|
+
data.tar.gz: 54e20e6a5d8ea23cb7d91e61cf2009c69da7dfef057a010bba3c652185dc8112bf342aa9f86076a0e37b5c7f1b907d0c984553c40c6055360849996868b3de02
|
@@ -37,7 +37,7 @@ module EffectiveBootstrapHelper
|
|
37
37
|
|
38
38
|
link_opts[:class] = opts.delete(:link_class) || 'btn btn-link'
|
39
39
|
div_class = opts.delete(:div_class)
|
40
|
-
card_class = opts.delete(:card_class) || 'my-2'
|
40
|
+
card_class = opts.delete(:card_class) || 'card card-body my-2'
|
41
41
|
|
42
42
|
if @_accordion_active
|
43
43
|
# Accordion collapse
|
@@ -55,7 +55,7 @@ module EffectiveBootstrapHelper
|
|
55
55
|
# Normal collapse
|
56
56
|
content_tag(:a, label, link_opts) +
|
57
57
|
content_tag(:div, id: id, class: ['collapse', div_class, ('show' if show)].compact.join(' ')) do
|
58
|
-
content_tag(:div, capture(&block), class:
|
58
|
+
content_tag(:div, capture(&block), class: card_class)
|
59
59
|
end
|
60
60
|
end
|
61
61
|
end
|