forked from CGM_Public/pretix_original
[A11y] add autocomplete to customer forms email input (#5214)
This commit is contained in:
committed by
GitHub
parent
c53fc8df4e
commit
ab72abea0a
@@ -55,7 +55,7 @@ class AuthenticationForm(forms.Form):
|
||||
required_css_class = 'required'
|
||||
email = forms.EmailField(
|
||||
label=_("Email"),
|
||||
widget=forms.EmailInput()
|
||||
widget=forms.EmailInput(attrs={'autocomplete': 'email'})
|
||||
)
|
||||
password = forms.CharField(
|
||||
label=_("Password"),
|
||||
@@ -140,6 +140,7 @@ class RegistrationForm(forms.Form):
|
||||
name_parts = forms.CharField()
|
||||
email = forms.EmailField(
|
||||
label=_("Email"),
|
||||
widget=forms.EmailInput(attrs={'autocomplete': 'email'})
|
||||
)
|
||||
|
||||
error_messages = {
|
||||
|
||||
Reference in New Issue
Block a user