15 lines
572 B
Python
15 lines
572 B
Python
from django import forms
|
|
from django.utils.text import gettext_lazy as _
|
|
|
|
|
|
class UpdateEmailForm(forms.Form):
|
|
contact_email = forms.EmailField(
|
|
label=_("Introduce tu e-mail"),
|
|
required=True,
|
|
widget=forms.EmailInput(
|
|
attrs={
|
|
"class": "peer bg-green-50 border border-green-500 text-green-900 light:text-green-400 placeholder-green-700 light:placeholder-green-500 text-sm rounded-lg focus:ring-green-500 focus:border-green-500 block w-full p-2.5 light:bg-gray-700 light:border-green-500"
|
|
}
|
|
),
|
|
)
|