inline_forms 1.6.60 → 1.6.61
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,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YzE5YjU1ZjVhODgzYWMzMGZkYWMxMmJhN2FjMWZmMmVjOWRlYWU4MA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
Nzk2NmIzODA3OTAxOTcwMDZhMGQzMWE1MmY3ZGEyNzIzYWIwYzE3YQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZWU3MTA1ZjZhM2U2NjA1OGM3ZDFmNzhmNDAxMDQ5OGI1N2JmODExYzZmYjZj
|
|
10
|
+
OGYyNzYyZDE3ZDQwNDlmY2ExZjhmYzMzNDBjNmZmZmIwMzg4MWFjY2IyNmVl
|
|
11
|
+
OTExMTViNTcwYjAxNGQxY2RmNmM5YTkxNTg4YjEwZDEwYjk2YTQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MTIyN2M5MzljMDEyZTMwNzkyMTZjZDYzNmRjYmFjNGM0ZWNmNWQyNmFiZjZl
|
|
14
|
+
MzUzMDk4ODNlMzI2M2M3ZDA3YjE4YTRmNjBjOTU0YzQxZjAxMGU4NzU4Y2Qy
|
|
15
|
+
MWE0YTkxNDc4MWFmNDIwMzA4NDU0ODNhZGQxMzkxNThkYzcyYjU=
|
|
@@ -6,7 +6,7 @@ def integer_field_show(object, attribute)
|
|
|
6
6
|
end
|
|
7
7
|
|
|
8
8
|
def integer_field_edit(object, attribute)
|
|
9
|
-
|
|
9
|
+
number_field_tag attribute, (object.send attribute.to_sym), :class => 'input_integer_field' # for abide: , :required => true
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def integer_field_update(object, attribute)
|
|
@@ -11,8 +11,8 @@ def kansen_slider_show(object, attribute)
|
|
|
11
11
|
out = display_value
|
|
12
12
|
else
|
|
13
13
|
out = "<div class='row collapse'>".html_safe
|
|
14
|
-
out << "<div class='small-
|
|
15
|
-
out << "<div class='small-
|
|
14
|
+
out << "<div class='small-5 column slider_value' id='value_#{css_id}'>#{display_value}</div>".html_safe
|
|
15
|
+
out << "<div class='small-7 column kansen_slider_show slider slider_#{attribute.to_s}' id='slider_#{css_id}'></div>".html_safe
|
|
16
16
|
out << "<input type='hidden' name='_#{object.class.to_s.underscore}[#{attribute}]' value='0' id='input_#{css_id}' />".html_safe
|
|
17
17
|
out << ('<script>
|
|
18
18
|
$(function() {
|
data/lib/inline_forms/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inline_forms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.61
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ace Suares
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rvm
|