semantic_form_for 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,7 @@ class SemanticFormFor::FormBuilder < ActionView::Helpers::FormBuilder
29
29
  end
30
30
 
31
31
  INPUTS.each do |input|
32
- define_method input do |attribute, *args|
32
+ define_method input do |attribute, *args, &block|
33
33
  options = args.extract_options!
34
34
  text = args.shift
35
35
  error = self.object.errors[attribute].try(:join, ', ')
@@ -1,3 +1,3 @@
1
1
  module SemanticFormFor
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: semantic_form_for
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.2
5
+ version: 0.4.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Stephen Touset