Overhaul Forms
This commit is contained in:
parent
25b91fb01b
commit
091e62b03c
16 changed files with 384 additions and 384 deletions
|
@ -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}),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue