effective_form_inputs 1.1.6 → 1.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ced69c9fb210c38037187a5f3db8fdc33a504c30
4
- data.tar.gz: c13dbb926985b2597e546adc2b7c91cea68cea9e
3
+ metadata.gz: ff9c8bf395aa0cb1fe2cbe3671d04ad6a5bcf001
4
+ data.tar.gz: 95ab0eb31ed7a6628139dbbd80ffffe8e35e6169
5
5
  SHA512:
6
- metadata.gz: 194025b9a2761f2928b9c6b2a43c792cad74eedd60b64ddd01955c0e9381d559540c08c0df0ba76866458cc7930f3e070629799d4fd69ab85079ea5483b0ca26
7
- data.tar.gz: 6d927394f634055b400a153b80cb269d814a5320b97fbf0d3171c184813e271df7a8ed6648d043d7af90955716ba43882c53b3b645d60c1aff0f1479267bf063
6
+ metadata.gz: 75a3591de16c5d8bfc1e6eb3ed9b70584fbc757e7588c9318ef0c9a573ede8e9f81aefeb1882a3b4115ca88c03bd455f232b42104bd461fd4567fa0c1aadde6e
7
+ data.tar.gz: 75cbfe5f8fa8f020d3d985ecc409ad5160e77a7a23cec5689987f40efc47f557602f23d37bfbd0e15ea9475f00048c53ff33931389997bea0a3843a03ef259fc
@@ -75,7 +75,6 @@ module Inputs
75
75
  end
76
76
  end
77
77
  end
78
-
79
78
  end
80
79
 
81
80
  # This is a grouped polymorphic collection
@@ -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
- = group_label
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) }
@@ -1,3 +1,3 @@
1
1
  module EffectiveFormInputs
2
- VERSION = '1.1.6'.freeze
2
+ VERSION = '1.1.7'.freeze
3
3
  end
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.6
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-06-27 00:00:00.000000000 Z
11
+ date: 2017-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails