Skip to content

Commit

Permalink
Merge pull request #1192 from emilioramirez/master
Browse files Browse the repository at this point in the history
added placeholder to ResetPasswordForm
  • Loading branch information
pennersr committed Nov 19, 2015
2 parents aed8ec3 + ec88036 commit 9d8ab54
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion allauth/account/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,12 @@ class ResetPasswordForm(forms.Form):
email = forms.EmailField(
label=_("E-mail"),
required=True,
widget=forms.TextInput(attrs={"type": "email", "size": "30"}))
widget=forms.TextInput(attrs={
"type": "email",
"size": "30",
"placeholder": _("E-mail address"),
})
)

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

0 comments on commit 9d8ab54

Please sign in to comment.