last_name = form.cleaned_data['last_name']
authority = form.cleaned_data['authority']
subject = form.cleaned_data['subject']
- message = form.cleaned_data['message']
+ description = form.cleaned_data['description']
email = form.cleaned_data['email'] # email of the sender
cc_myself = form.cleaned_data['cc_myself']
authority = forms.CharField(widget=forms.TextInput(attrs={'class':'form-control'}))
email = forms.EmailField(widget=forms.TextInput(attrs={'class':'form-control'}))
subject = forms.CharField(max_length=100,widget=forms.TextInput(attrs={'class':'form-control'}))
- message = forms.CharField(widget=forms.Textarea(attrs={'class':'form-control'}))
+ description = forms.CharField(widget=forms.Textarea(attrs={'class':'form-control'}))
cc_myself = forms.BooleanField(required=False,widget=forms.CheckboxInput(attrs={'class':'form-control'}))
class PassResetForm(forms.Form):
User details:
First name : {{first_name}}
-Last name : {{last_name}}
+Last name : {{last_name}}
email : {{email}}
-Authority : {{authority}}
+Authority : {{authority}}
Query Details:
Subject : {{subject}}
-message : {{message}}
+Description : {{description}}