From eb1e290439ad9dd7947766462d2138073d84c759 Mon Sep 17 00:00:00 2001
From: Yasin <mohammed-yasin.rahman@lip6.fr>
Date: Fri, 17 Jan 2014 14:57:27 +0100
Subject: [PATCH] ContactForm: updated

---
 portal/contactview.py                      | 2 +-
 portal/forms.py                            | 2 +-
 portal/templates/contact-support-email.txt | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/portal/contactview.py b/portal/contactview.py
index 918385f5..f1422fff 100644
--- a/portal/contactview.py
+++ b/portal/contactview.py
@@ -20,7 +20,7 @@ class ContactView (FreeAccessView):
             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']
 
diff --git a/portal/forms.py b/portal/forms.py
index c7cb7f06..fc8d8c3f 100644
--- a/portal/forms.py
+++ b/portal/forms.py
@@ -59,7 +59,7 @@ class ContactForm(forms.Form):
     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):
diff --git a/portal/templates/contact-support-email.txt b/portal/templates/contact-support-email.txt
index a27c7916..9eb576d6 100644
--- a/portal/templates/contact-support-email.txt
+++ b/portal/templates/contact-support-email.txt
@@ -1,12 +1,12 @@
 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}}
 
-- 
2.47.0