Skip to content

Commit

Permalink
fix #valid_page?
Browse files Browse the repository at this point in the history
  • Loading branch information
ajb committed Feb 28, 2014
1 parent f316e67 commit aa2de47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/formbuilder/entry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module Entry

def valid_page?(x)
self.valid?
self.errors_on_page?(x)
!self.errors_on_page?(x)
end

def first_page_with_errors
Expand Down

0 comments on commit aa2de47

Please sign in to comment.