simple_form_extension 1.2.9 → 1.2.10
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e051befe00f121cf42be7950ed070913f1a500a0
|
|
4
|
+
data.tar.gz: 112058b1c8de348b2272c59ee3fa9f8c1fce30f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ab190bcb7f5237fe70db8ce34dcc55d3011c64f9e5a96b2145893b889f3b876e695d06d786854e142351d8dbd66e8dd7847ef3d33342d1f1946bf21764d7572
|
|
7
|
+
data.tar.gz: 1475d0a9d19a55a96ba9d6608c78ac27bb0dd50a90e1ee5b961fd81f8f6e8b4b21b025ab88b4b6fd41af1df0760f3507e64b7e529fa1a4df199ea4b265edbd5a
|
|
@@ -4,7 +4,6 @@ class Selectize
|
|
|
4
4
|
@el = @$el[0]
|
|
5
5
|
|
|
6
6
|
creatable = @$el.data('creatable')
|
|
7
|
-
addTranslation = @$el.data('add-translation')
|
|
8
7
|
|
|
9
8
|
@$el.val('')
|
|
10
9
|
|
|
@@ -37,10 +36,11 @@ class Selectize
|
|
|
37
36
|
@el.selectize.addItem(data.value)
|
|
38
37
|
|
|
39
38
|
renderOptions: ->
|
|
40
|
-
option_create: (data)
|
|
39
|
+
option_create: (data) =>
|
|
41
40
|
"""
|
|
42
41
|
<div class="create" data-selectable="">
|
|
43
|
-
#{
|
|
42
|
+
#{ @$el.data('add-translation') }
|
|
43
|
+
<strong>#{ data.input }</strong> ...
|
|
44
44
|
</div>
|
|
45
45
|
"""
|
|
46
46
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_form_extension
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexandre Vasseur
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|