diff --git a/serviceCRM/forms.py b/serviceCRM/forms.py index 35570fc..f0536fd 100644 --- a/serviceCRM/forms.py +++ b/serviceCRM/forms.py @@ -11,8 +11,10 @@ class InputForm(forms.ModelForm): fields = {"name", "phone", "description", "date","done"} labels = {'name': "Name", 'phone': "Phone", 'date': "Date", 'description': "Description",'done':"Done"} widgets = { + 'name': forms.TextInput(attrs={'class':'form-control'}), + 'phone': forms.TextInput(attrs={'class': 'form-control'}), 'date': DateInput(), - 'description':forms.Textarea + 'description':forms.Textarea(attrs={'class': 'form-control'}) } field_order =["name", "phone", "date","description","done"] diff --git a/serviceCRM/templates/base.html b/serviceCRM/templates/base.html index b512db9..db05a7b 100644 --- a/serviceCRM/templates/base.html +++ b/serviceCRM/templates/base.html @@ -5,7 +5,6 @@ -