Added attr info to LoginForm and fixed a typo.