simple_form 1.0.2 → 1.0.3

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.
@@ -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
- result << radio_button(attribute, value, default_html_options) <<
40
- label("#{attribute}_#{value}", text, :class => "collection_radio")
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
- result << check_box(attribute, default_html_options, value, '') <<
80
- label("#{attribute}_#{value}", text, :class => "collection_check_boxes")
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
 
@@ -1,3 +1,3 @@
1
1
  module SimpleForm
2
- VERSION = "1.0.2".freeze
2
+ VERSION = "1.0.3".freeze
3
3
  end
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
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-07-24 00:00:00 +02:00
19
+ date: 2010-08-31 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies: []
22
22