Coverage for basic_pages/forms.py: 100%
5 statements
« prev ^ index » next coverage.py v7.6.12, created at 2025-03-16 10:58 +0000
« prev ^ index » next coverage.py v7.6.12, created at 2025-03-16 10:58 +0000
1from django import forms
4class ContactForm(forms.Form):
5 email = forms.EmailField(
6 widget=forms.TextInput(attrs={"placeholder": "Your e-mail"})
7 )
8 subject = forms.CharField(widget=forms.TextInput(attrs={"placeholder": "Subject"}))
9 message = forms.CharField(
10 widget=forms.Textarea(attrs={"placeholder": "Your message"})
11 )