From 7fa17fe8e3a889cdfa1602c3d97c235d35de8b56 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 25 Oct 2011 22:27:35 +0100 Subject: [PATCH] contact --- itf/frontpage/views.py | 2 +- itf/templates/registration/contact.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/itf/frontpage/views.py b/itf/frontpage/views.py index 13387a2..8a83a44 100755 --- a/itf/frontpage/views.py +++ b/itf/frontpage/views.py @@ -9,8 +9,8 @@ from django.forms.widgets import Textarea from django.utils.html import urlize class ContactForm(forms.Form): - email = forms.EmailField() name = forms.CharField(max_length=255) + email = forms.EmailField() message = forms.CharField(widget=Textarea(attrs={'cols': 10, 'rows': 6})) ''' diff --git a/itf/templates/registration/contact.html b/itf/templates/registration/contact.html index 8265dc3..8fcee75 100644 --- a/itf/templates/registration/contact.html +++ b/itf/templates/registration/contact.html @@ -7,6 +7,12 @@ {{ form.as_table }} + + +
+ + +
{% endblock %}