simple_form 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of simple_form might be problematic. Click here for more details.
@@ -36,8 +36,8 @@ module SimpleForm
|
|
36
36
|
|
37
37
|
default_html_options = default_html_options_for_collection(item, value, options, html_options)
|
38
38
|
|
39
|
-
|
40
|
-
|
39
|
+
radio = radio_button(attribute, value, default_html_options)
|
40
|
+
result << label("#{attribute}_#{value}", radio << text.to_s, :class => "collection_radio")
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
@@ -76,8 +76,8 @@ module SimpleForm
|
|
76
76
|
default_html_options = default_html_options_for_collection(item, value, options, html_options)
|
77
77
|
default_html_options[:multiple] = true
|
78
78
|
|
79
|
-
|
80
|
-
|
79
|
+
check_box = check_box(attribute, default_html_options, value, '')
|
80
|
+
result << label("#{attribute}_#{value}", check_box << text.to_s, :class => "collection_check_boxes")
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
data/lib/simple_form/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Jos\xC3\xA9 Valim"
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-08-31 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|