semantic_form_for 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,10 +55,10 @@ class SemanticFormFor::FormBuilder < ActionView::Helpers::FormBuilder
55
55
  end
56
56
 
57
57
  BUTTONS.each do |button|
58
- define_method button do |text, options = {}|
58
+ define_method button do |*args|
59
59
  template.capture_haml do
60
60
  template.haml_tag(:li, :class => button) do
61
- template.haml_concat super(text, options)
61
+ template.haml_concat super(*args)
62
62
  end
63
63
  end
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module SemanticFormFor
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 1
9
- version: 0.3.1
8
+ - 2
9
+ version: 0.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Stephen Touset