Ndupoux/fixing registration page

I've edited the user registration page in order to prevent new users from using their password as their public username. 
With the current registration page layout, many users erroneously set their password as their public username, since the username field is directly below the password field. 
To fix this issue, the existing username and real name form fields have been moved above the password field and a password confirmation field has been added. Two simple validations have been added to the create_account handler to make sure that the password and password confirmation fields match and that the password field and username fields do not match when a user submits the registration form. I've also edited existing tests to now incorporate the added password confirmation field. 
@jrbl @jinpa @sarina 



Ok. If Jenkins is happy, I'm happy.


On Mon, Jun 30, 2014 at 4:57 PM, Nicholas Dupoux <notifications@github.com>
wrote:

> In cms/djangoapps/contentstore/utils.py:
>
> > @@ -12,7 +12,7 @@
> >
> >  from xmodule.contentstore.content import StaticContent
> >  from xmodule.contentstore.django import contentstore
> > -from xmodule.modulestore import REVISION_OPTION_PUBLISHED_ONLY
> > +from xmodule.modulestore import ModuleStoreEnum
>
> I cherry-picked it from a PR that fixes some issues with the original
> constant there @jrbl <https://github.com/jrbl>
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/edx/edx-platform/pull/4212/files#r14382643>.
>