effective_bootstrap 0.6.12 → 0.6.13
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: b3d04bbf79147ce531834750ed14cd478e0ade598109b99edb02c9ea802f699d
|
4
|
+
data.tar.gz: 315e01d14c50b6ad3ec6f39b4981e5030b911a0a525b11f7dc5da6fe512bd020
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f5ab04bf8c5217f683cc7897a2dd7b3ade20628cb1ecb63940901e774e8f1e0927d7109cdda6bfe0ca9de38103d3df90355ecdb9fb0248f3febc2d7e3342f31
|
7
|
+
data.tar.gz: f9ff1619e0a42e7e7fe552ff7e6e5b5dc12c462e51ed119cadd8a0e11ead4a3f43513a1f62aa3984c355ac1d61949e5ce08e38e7b421d53e07dd96aac32f5d11
|
@@ -24,7 +24,12 @@ module EffectiveFormBuilderHelper
|
|
24
24
|
|
25
25
|
remote_index = options.except(:model).hash.abs
|
26
26
|
|
27
|
-
options[:
|
27
|
+
options[:local] = true unless options.key?(:local)
|
28
|
+
|
29
|
+
if respond_to?(:inline_datatable?) && inline_datatable?
|
30
|
+
options[:remote] = true
|
31
|
+
options[:local] = false
|
32
|
+
end
|
28
33
|
|
29
34
|
if options.delete(:remote) == true
|
30
35
|
@_effective_remote_index ||= {}
|
@@ -8,7 +8,7 @@ module EffectiveIconsHelper
|
|
8
8
|
options.reverse_merge!(nocomment: true)
|
9
9
|
options[:class] = [options[:class], "eb-icon eb-icon-#{svg}"].compact.join(' ')
|
10
10
|
|
11
|
-
|
11
|
+
inline_svg_tag("icons/#{svg}.svg", options)
|
12
12
|
end
|
13
13
|
|
14
14
|
def icon_to(svg, url, options = {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|