twitter_bootstrap_form_for 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,9 @@
1
1
  Twitter Bootstrap Form For Changes
2
2
  ==================================
3
3
 
4
+ ## 1.0.5 (2011-11-28) ##
5
+ - properly name inline input fields (re-closes [\#2])
6
+
4
7
  ## 1.0.4 (2011-11-20) ##
5
8
  - support for inline fields (closes [\#2])
6
9
 
@@ -73,10 +73,10 @@ class TwitterBootstrapFormFor::FormBuilder < ActionView::Helpers::FormBuilder
73
73
  template.concat template.content_tag(:label, label) if label.present?
74
74
  template.concat template.content_tag(:div, :class => 'input') {
75
75
  template.content_tag(:div, :class => 'inline-inputs') do
76
- self.fields_for(
76
+ template.fields_for(
77
77
  self.object_name,
78
78
  self.object,
79
- self.options.merge(:builder => ActionView::Helpers::FormBuilder),
79
+ self.options.merge(:builder => ActionView::Base.default_form_builder),
80
80
  &block
81
81
  )
82
82
  end
@@ -1,3 +1,3 @@
1
1
  module TwitterBootstrapFormFor
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_bootstrap_form_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-20 00:00:00.000000000 Z
12
+ date: 2011-11-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70325744527840 !ruby/object:Gem::Requirement
16
+ requirement: &70263346386380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70325744527840
24
+ version_requirements: *70263346386380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: actionpack
27
- requirement: &70325744526200 !ruby/object:Gem::Requirement
27
+ requirement: &70263346384740 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '3'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70325744526200
35
+ version_requirements: *70263346384740
36
36
  description: A custom Rails FormBuilder that assumes the use of Twitter Bootstrap
37
37
  email:
38
38
  - stephen@touset.org