Skip to content

Commit

Permalink
Add missing placeholder
Browse files Browse the repository at this point in the history
for AddEMailForm
  • Loading branch information
aibon committed Oct 22, 2015
1 parent 425c05b commit e7cbf5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion allauth/account/forms.py
Expand Up @@ -323,7 +323,8 @@ class AddEmailForm(UserForm):
email = forms.EmailField(label=_("E-mail"),
required=True,
widget=forms.TextInput(attrs={"type": "email",
"size": "30"}))
"size": "30",
"placeholder": _('E-mail address')}))

def clean_email(self):
value = self.cleaned_data["email"]
Expand Down

0 comments on commit e7cbf5c

Please sign in to comment.