- email = forms.CharField(widget=forms.TextInput(attrs={'autofocus': 'autofocus',
- 'placeholder': 'Email',
- 'max_length': '255'}))
- password = forms.CharField(widget=forms.PasswordInput(attrs={'placeholder': 'Password'}))
+ username = forms.CharField(widget=forms.TextInput(attrs={'autofocus': 'autofocus',
+ 'max_length': '255'}),
+ label=_('Username'))
+ password = forms.CharField(widget=forms.PasswordInput(), label=_('Password'))