Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

3 1 stable #271

Closed
wants to merge 1 commit into from

2 participants

Erik Petersen Brian Cardarella
Erik Petersen

No description provided.

Brian Cardarella
Owner

This is an issue specific to Devise.

Brian Cardarella bcardarella closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 8, 2012
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/client_side_validations/action_view/form_helper.rb
2  lib/client_side_validations/action_view/form_helper.rb
View
@@ -70,7 +70,7 @@ def client_side_form_settings(object, options)
var_name = if object.respond_to?(:persisted?) && object.persisted?
options[:as] ? "#{options[:as]}_edit" : dom_id(object, :edit)
else
- options[:as] ? "#{options[:as]}_new" : dom_id(object)
+ options[:as] ? "new_#{options[:as]}" : dom_id(object)
end
end
Something went wrong with that request. Please try again.