semantic_form_for 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ class SemanticFormFor::FormBuilder < ActionView::Helpers::FormBuilder
33
33
  options = args.extract_options!
34
34
  text = args.shift
35
35
  error = self.object.errors[attribute].try(:join, ', ')
36
- labeled = text.present? or text.nil?
36
+ labeled = text.present? || text.nil?
37
37
 
38
38
  classes = [ input ]
39
39
  classes << 'error' if error.present?
@@ -1,3 +1,3 @@
1
1
  module SemanticFormFor
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
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.3
5
+ version: 0.4.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Stephen Touset