From 4b8cd9c67f57d2d23df34365ee225b41bbf12ec9 Mon Sep 17 00:00:00 2001 From: Vadim Melnikov Date: Fri, 16 Apr 2021 16:18:34 +0300 Subject: [PATCH] Fixed mail field in statistics page --- main/forms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/forms.py b/main/forms.py index 22bd76b..81b2e8a 100644 --- a/main/forms.py +++ b/main/forms.py @@ -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;' } ), )