biola_wcms_components 0.12.0 → 0.13.0
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: 2802a6c200a51349a68b8605af8a8474f89ae163
|
4
|
+
data.tar.gz: 2e1c869ef464d3da66b8e2888c741a4a31042903
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57cb4ea0580a89a2fef1ff59266705db0670cc1589048e1924a6d58c767f20ad6afdedad94c2298ff951b64ef9d614d451c0d316ee3f793bf1f6e26590fdea31
|
7
|
+
data.tar.gz: c0aaf7c89a469aa0582b5de4386f99143204bfb7a60b7c6fbf73df3f1c329a3f5bbff4375bfd2b17fb9968da76a7c49e47aeeebb94114e23a994d960453392ab
|
@@ -1,8 +1,12 @@
|
|
1
1
|
$(document).ready ->
|
2
2
|
$('.bs-multiselect').each ->
|
3
3
|
$(this).multiselect
|
4
|
-
|
4
|
+
enableCaseInsensitiveFiltering: true
|
5
|
+
enableFiltering: true
|
5
6
|
filterBehavior: 'value'
|
7
|
+
includeSelectAllOption: false
|
8
|
+
maxHeight: 400
|
9
|
+
numberDisplayed: 1
|
6
10
|
|
7
11
|
# Replace glyphicons with fonticons
|
8
12
|
if $('.bs-multiselect').length > 0
|
@@ -5,9 +5,13 @@ ruby:
|
|
5
5
|
collection ||= nil
|
6
6
|
value_method ||= nil
|
7
7
|
text_method ||= nil
|
8
|
+
multiple ||= nil
|
9
|
+
prompt ||= nil
|
8
10
|
|
9
11
|
options = {}
|
10
|
-
html_options = {class: 'form-control bs-multiselect'
|
12
|
+
html_options = {class: 'form-control bs-multiselect'}
|
13
|
+
html_options[:multiple] = 'multiple' if multiple
|
14
|
+
options[:prompt] = prompt if prompt
|
11
15
|
|
12
16
|
div
|
13
17
|
= form.collection_select attribute, collection, value_method, text_method, options, html_options
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: biola_wcms_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Hall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ace-rails-ap
|