diaspora/diaspora — pull request #3401 by Raven24 (2012-06-18 12:52:39+00:00)
Title: fix client-side validations in registration form

We seem to have been suffering from the problem described (and solved) here:
https://github.com/bcardarella/client_side_validations/issues/342#issuecomment-6384133

Devise was giving the form a different id as was expected from client_side_validations, thus the form was not validated before submitting.

Now the form can't be submitted unless all the inputs are filled out correctly, which should avoid falling back to server-side validation and returning to the form with the wrong layout.