effective_form_inputs 1.1.6 → 1.1.7
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff9c8bf395aa0cb1fe2cbe3671d04ad6a5bcf001
|
4
|
+
data.tar.gz: 95ab0eb31ed7a6628139dbbd80ffffe8e35e6169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75a3591de16c5d8bfc1e6eb3ed9b70584fbc757e7588c9318ef0c9a573ede8e9f81aefeb1882a3b4115ca88c03bd455f232b42104bd461fd4567fa0c1aadde6e
|
7
|
+
data.tar.gz: 75cbfe5f8fa8f020d3d985ecc409ad5160e77a7a23cec5689987f40efc47f557602f23d37bfbd0e15ea9475f00048c53ff33931389997bea0a3843a03ef259fc
|
@@ -17,19 +17,17 @@
|
|
17
17
|
.col-sm-4
|
18
18
|
%ul.nav.nav-pills{role: 'tablist', class: input.options[:sidebar_class]}
|
19
19
|
- input.collection.each do |group, items|
|
20
|
-
- group_label = group.send(input.options[:group_label_method])
|
21
20
|
- group_value = group.send(input.options[:group_method])
|
22
21
|
|
23
22
|
%li{class: ('active selected' if group_value == input.group_value) }
|
24
23
|
%a{'data-toggle': 'tab', role: 'tab', href: "##{group_value.parameterize}"}
|
25
|
-
=
|
24
|
+
= group.send(input.options[:group_label_method]).html_safe
|
26
25
|
- if input.show_count?
|
27
26
|
%span.badge= items.length
|
28
27
|
|
29
28
|
.col-sm-8
|
30
29
|
.tab-content
|
31
30
|
- input.collection.each do |group, items|
|
32
|
-
- group_label = group.send(input.options[:group_label_method])
|
33
31
|
- group_value = group.send(input.options[:group_method])
|
34
32
|
|
35
33
|
.tab-pane{id: group_value.parameterize, class: ('active' if group_value == input.group_value) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_form_inputs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
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: 2017-
|
11
|
+
date: 2017-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|