Merge lp:~deadlight/canonical-identity-provider/form-error-states into lp:canonical-identity-provider/release
Proposed by
Karl Williams
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Maximiliano Bertacchini | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1717 | ||||
Proposed branch: | lp:~deadlight/canonical-identity-provider/form-error-states | ||||
Merge into: | lp:canonical-identity-provider/release | ||||
Diff against target: |
207 lines (+37/-27) 9 files modified
src/identityprovider/fields.py (+6/-1) src/identityprovider/forms.py (+6/-2) src/identityprovider/tests/sso_server/test_home_page.py (+3/-1) src/identityprovider/tests/sso_server/test_standalone_login.py (+2/-1) src/webui/templates/account/edit.html (+1/-1) src/webui/templates/registration/_create_account_form.html (+1/-1) src/webui/templates/registration/_title.html (+2/-2) src/webui/templates/vanilla/base.html (+9/-11) src/webui/templates/vanilla/widgets/passwords.html (+7/-7) |
||||
To merge this branch: | bzr merge lp:~deadlight/canonical-identity-provider/form-error-states | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Anthony Dillon (community) | Approve | ||
Maximiliano Bertacchini | Approve | ||
Review via email: mp+378530@code.launchpad.net |
Commit message
Fixed the rendering of error states for the password fields (included modifying the password field generation code to take an optional HTML class parameter)
Changed the base template to move global error messages into the main strip, reducing vertical spacing.
Description of the change
Fixed the rendering of error states for the password fields (included modifying the password field generation code to take an optional HTML class parameter)
Changed the base template to move global error messages into the main strip, reducing vertical spacing.
QA:
Try and create an account but input non-matching passwords then also try a password which is too short
To post a comment you must log in.
Nice! Looks good to me. But there are 3 related failing tests, which fortunately look trivial to fix :)
Also, it'd be great if passwords field errors in "My account" had the same rendering style. Have you considered that?
Thanks!