Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed #657

  • Loading branch information...
commit fdd2300e03579e94bd6b78b4c13b9d0d4ce6a7bd 1 parent ed60316
@gucki gucki authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/formtastic/helpers/form_helper.rb
View
2  lib/formtastic/helpers/form_helper.rb
@@ -143,7 +143,7 @@ def semantic_form_for(record_or_name_or_array, *args, &proc)
options = args.extract_options!
options[:builder] ||= @@builder
options[:html] ||= {}
- options[:html][:novalidate] = !builder.perform_browser_validations unless options[:html].key?(:novalidate)
+ options[:html][:novalidate] = !@@builder.perform_browser_validations unless options[:html].key?(:novalidate)
@@builder.custom_namespace = options[:namespace].to_s
singularizer = defined?(ActiveModel::Naming.singular) ? ActiveModel::Naming.method(:singular) : ActionController::RecordIdentifier.method(:singular_class_name)
Please sign in to comment.
Something went wrong with that request. Please try again.