effective_style_guide 1.5.2 → 1.5.3
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: 6166fb4e1e5d0b67d54b39b5bc708663bb59c7fe
|
4
|
+
data.tar.gz: 329af607adeee525813474c63bf72946be10603a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe386826ffaf224ae793b8d82f2b91e82b908b385140d936daa8280e0effc00d239d0e3930bd806df9a61deff0884f141519dc8c527d11cd1d03d064bb53a1c8
|
7
|
+
data.tar.gz: 690bb5d4ba7ed024363bbc7be8ac5d8f41fe159442dc37b5422b178ae4179e22efe3f63a338e604d4b0365d5f387b2c89784a44651aba10d48ffcea89e092446
|
@@ -25,6 +25,13 @@
|
|
25
25
|
:placeholder => 'Create or select multiple tags',
|
26
26
|
:multiple => true,
|
27
27
|
:tags => true
|
28
|
+
|
29
|
+
= f.input :category,
|
30
|
+
:as => :effective_panel_select,
|
31
|
+
:input_js => { invade: false },
|
32
|
+
:collection => EffectiveStyleGuide.grouped_colors,
|
33
|
+
:hint => 'please select a category (this is an effective_panel_select from EffectiveFormInputs)'
|
34
|
+
|
28
35
|
- else
|
29
36
|
= f.input :category,
|
30
37
|
:as => :select,
|
@@ -128,6 +135,12 @@
|
|
128
135
|
:placeholder => 'Create or select multiple tags',
|
129
136
|
:multiple => true,
|
130
137
|
:tags => true
|
138
|
+
|
139
|
+
= f.input :category,
|
140
|
+
:as => :effective_panel_select,
|
141
|
+
:input_js => { invade: false },
|
142
|
+
:collection => EffectiveStyleGuide.grouped_colors,
|
143
|
+
:hint => 'please select a category (this is an effective_panel_select from EffectiveFormInputs)'
|
131
144
|
- else
|
132
145
|
= f.input :category,
|
133
146
|
:as => :select,
|
@@ -26,6 +26,13 @@
|
|
26
26
|
:placeholder => 'Create or select multiple tags',
|
27
27
|
:multiple => true,
|
28
28
|
:tags => true
|
29
|
+
|
30
|
+
= f.input :category,
|
31
|
+
:as => :effective_panel_select,
|
32
|
+
:input_js => { invade: false },
|
33
|
+
:collection => EffectiveStyleGuide.grouped_colors,
|
34
|
+
:hint => 'please select a category (this is an effective_panel_select from EffectiveFormInputs)'
|
35
|
+
|
29
36
|
- else
|
30
37
|
= f.input :category,
|
31
38
|
:as => :select,
|
@@ -127,6 +134,12 @@
|
|
127
134
|
:placeholder => 'Create or select multiple tags',
|
128
135
|
:multiple => true,
|
129
136
|
:tags => true
|
137
|
+
|
138
|
+
= f.input :category,
|
139
|
+
:as => :effective_panel_select,
|
140
|
+
:input_js => { invade: false },
|
141
|
+
:collection => EffectiveStyleGuide.grouped_colors,
|
142
|
+
:hint => 'please select a category (this is an effective_panel_select from EffectiveFormInputs)'
|
130
143
|
- else
|
131
144
|
= f.input :category,
|
132
145
|
:as => :select,
|
@@ -27,4 +27,12 @@ module EffectiveStyleGuide
|
|
27
27
|
['Coffee', 'Tea', 'Soda']
|
28
28
|
end
|
29
29
|
|
30
|
+
def self.grouped_colors
|
31
|
+
{
|
32
|
+
'Top' => [['Red', 1], ['Orange', 2], ['Yellow', 3]],
|
33
|
+
'Middle' => [['Green', 4], ['Blue', 5], ['Indigo', 6]],
|
34
|
+
'Bottom' => [['Violet', 7]]
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
30
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_style_guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
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-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|