Overhaul Forms

This commit is contained in:
Tobias Brunner 2025-03-03 14:30:05 +01:00
parent 25b91fb01b
commit 091e62b03c
16 changed files with 384 additions and 384 deletions

View file

@ -13,13 +13,3 @@ class LeadForm(forms.ModelForm):
"phone": forms.TextInput(attrs={"class": "form-control"}),
"message": forms.Textarea(attrs={"class": "form-control", "rows": 4}),
}
class PlanForm(forms.ModelForm):
class Meta:
model = Plan
fields = ("name", "description")
widgets = {
"description": forms.Textarea(attrs={"rows": 3}),
"features": forms.Textarea(attrs={"rows": 4}),
}