Two admin templates incorrectly use errors.items
|Reported by:||kmtracey||Owned by:||kmtracey|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
points out that the admin change_form.html uses errors.items|length, which is incorrect. errors is a list type; errors|length would seem to be what should be used. As is is now the plural message is always displayed even when there is only a single error on the page. grep shows admin/auth/user/change_password.html uses the same construct and probably also needs to be fixed.