Refs #1432 -- Proper grouping of autocomplete properties

This commit is contained in:
Raphael Michel
2019-10-09 12:39:44 +02:00
parent 3b4d39ec27
commit 92754136a6
2 changed files with 38 additions and 5 deletions

View File

@@ -29,6 +29,7 @@ class ContactForm(forms.Form):
help_text=_('Make sure to enter a valid email address. We will send you an order '
'confirmation including a link that you need to access your order later.'),
validators=[EmailBlacklistValidator()],
widget=forms.EmailInput(attrs={'autocomplete': 'section-contact email'})
)
def __init__(self, *args, **kwargs):