effective_bootstrap 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/helpers/effective_bootstrap_helper.rb +5 -3
- 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: 13069c885db1c7ecc88b9b09fe3da23ba6eecb8c45154cf6ecb705edd0910bf8
|
|
4
|
+
data.tar.gz: e93591a88deec48ce908ae47f6bee319bda2ede3218b6a4ab181fd70b1726aa6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab8b70579e1f9a81e7575c4fb6df6fcbd07a0df05d4a5bb6c65547cdaab4a6c36ff3f296ef560711fd9b76dfd8dfe1e2b66d8ad8794b0cbafd693de570332b5c
|
|
7
|
+
data.tar.gz: a08b4fdc0bbb4fc94b513546e7be2fbe359ad41c1bf4378462fda34891a61b9cc2923aa2f8c9965ad9550b2649521c3f339d001bf874db8f79749d678a70498c
|
|
@@ -154,11 +154,13 @@ module EffectiveBootstrapHelper
|
|
|
154
154
|
end
|
|
155
155
|
|
|
156
156
|
# Works with dots ao and dropdown do
|
|
157
|
-
def dropdown_divider
|
|
157
|
+
def dropdown_divider(options = {})
|
|
158
|
+
options[:class] = [options[:class], 'dropdown-divider'].compact.join(' ')
|
|
159
|
+
|
|
158
160
|
unless @_dropdown_link_tos
|
|
159
|
-
content_tag(:div, '',
|
|
161
|
+
content_tag(:div, '', options)
|
|
160
162
|
else
|
|
161
|
-
@_dropdown_link_tos << content_tag(:div, '',
|
|
163
|
+
@_dropdown_link_tos << content_tag(:div, '', options)
|
|
162
164
|
nil
|
|
163
165
|
end
|
|
164
166
|
end
|