Make show-password-js work for change password too
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 5 Jan 2012 13:47:15 +0000 (14:47 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 5 Jan 2012 13:47:15 +0000 (14:47 +0100)
commit49af00e491a7ec6b920a3780254f2203ae47fbe5
treef4b49005d5e6889ae3914e5e86a0030c65412001
parent4a24500aa43fcf5bca59c12049af34b7935977a0
Make show-password-js work for change password too

The show password js depends on the password field to have
an id of "password". So give it a proper id.

Also fixed the label generation for the case of field.name
and field.id being different.
mediagoblin/edit/forms.py
mediagoblin/templates/mediagoblin/utils/wtforms.html