bootstrap-forms 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "bootstrap-forms"
6
- s.version = "0.0.2"
6
+ s.version = "0.0.3"
7
7
  s.author = "Seth Vargo"
8
8
  s.email = "sethvargo@gmail.com"
9
9
  s.homepage = "https://github.com/sethvargo/bootstrap_forms"
@@ -25,7 +25,7 @@ class BootstrapFormBuilder < ActionView::Helpers::FormBuilder
25
25
 
26
26
  clearfix_div do
27
27
  label_field + input_div do
28
- extras {super}
28
+ extras { super(name, *(@args << @options)) }
29
29
  end
30
30
  end
31
31
  end
@@ -105,7 +105,7 @@ class BootstrapFormBuilder < ActionView::Helpers::FormBuilder
105
105
  @options[:class] = 'btn primary'
106
106
 
107
107
  content_tag(:div, :class => 'actions') do
108
- super(name, *args << @options) + ' ' + link_to('Cancel', :back, :class => 'btn')
108
+ super(name, *(args << @options)) + ' ' + link_to('Cancel', :back, :class => 'btn')
109
109
  end
110
110
  end
111
111
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-01 00:00:00.000000000Z
12
+ date: 2012-01-06 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Bootstrap Forms makes Twitter's Bootstrap on Rails easy to use by creating
15
15
  helpful form builders that minimize markup in your views.
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  version: '0'
50
50
  requirements: []
51
51
  rubyforge_project: bootstrap-forms
52
- rubygems_version: 1.8.10
52
+ rubygems_version: 1.8.13
53
53
  signing_key:
54
54
  specification_version: 3
55
55
  summary: Bootstrap Forms makes Twitter's Bootstrap on Rails easy!