mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
[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'
|
required_css_class = 'required'
|
||||||
email = forms.EmailField(
|
email = forms.EmailField(
|
||||||
label=_("Email"),
|
label=_("Email"),
|
||||||
widget=forms.EmailInput()
|
widget=forms.EmailInput(attrs={'autocomplete': 'email'})
|
||||||
)
|
)
|
||||||
password = forms.CharField(
|
password = forms.CharField(
|
||||||
label=_("Password"),
|
label=_("Password"),
|
||||||
@@ -140,6 +140,7 @@ class RegistrationForm(forms.Form):
|
|||||||
name_parts = forms.CharField()
|
name_parts = forms.CharField()
|
||||||
email = forms.EmailField(
|
email = forms.EmailField(
|
||||||
label=_("Email"),
|
label=_("Email"),
|
||||||
|
widget=forms.EmailInput(attrs={'autocomplete': 'email'})
|
||||||
)
|
)
|
||||||
|
|
||||||
error_messages = {
|
error_messages = {
|
||||||
|
|||||||
Reference in New Issue
Block a user