Fixed mail field in statistics page

This commit is contained in:
Vadim Melnikov 2021-04-16 16:18:34 +03:00
parent 06256c202d
commit 4b8cd9c67f

View File

@ -96,12 +96,11 @@ class StatisticForm(forms.Form):
:type range_end: :class:`django.forms.fields.DateField`
"""
email = forms.EmailField(
label='Электроная почта',
label='Электронная почта',
widget=forms.EmailInput(
attrs={
'placeholder': 'example@ngenix.ru',
'class': 'form-control',
'style': 'background-color:#f2f2f2;'
}
),
)