# HG changeset patch # User Nishanth Amuluru # Date 1294498505 -19800 # Node ID 70726699ca808e8aa61ccc37995f978c5247b6aa # Parent 49ee2a7f1350fac830ddd0014bf9008283f0962b now the text area is displayed in a more elegant way diff -r 49ee2a7f1350 -r 70726699ca80 pytask/profile/forms.py --- a/pytask/profile/forms.py Sat Jan 08 15:13:56 2011 +0530 +++ b/pytask/profile/forms.py Sat Jan 08 20:25:05 2011 +0530 @@ -18,7 +18,8 @@ help_text="Any DD/Cheque will be issued on \ this name") - aboutme = forms.CharField(required=True, max_length=1000, label=u"About Me", + aboutme = forms.CharField(required=True, widget=forms.Textarea, + max_length=1000, label=u"About Me", help_text="A write up about yourself to aid the\ reviewer in judging your eligibility for a task.\ It can have your educational background, CGPA,\ @@ -29,8 +30,9 @@ dob = forms.DateField(help_text = "YYYY-MM-DD", required=True, label=u'date of birth') gender = forms.ChoiceField(choices = GENDER_CHOICES, required=True, label=u'gender') - address = forms.CharField(required=True, max_length=200, help_text="This \ - information will be used while sending DD/Cheque") + address = forms.CharField(required=True, max_length=200, + widget=forms.Textarea, help_text="This \ + information will be used while sending DD/Cheque") phonenum = forms.CharField(required=True, max_length=10, label="Phone Number") diff -r 49ee2a7f1350 -r 70726699ca80 pytask/templates/registration/registration_form.html --- a/pytask/templates/registration/registration_form.html Sat Jan 08 15:13:56 2011 +0530 +++ b/pytask/templates/registration/registration_form.html Sat Jan 08 20:25:05 2011 +0530 @@ -2,27 +2,7 @@ {% block content %}
{% csrf_token %} -

-

-

-

-

Any DD/Cheque will be issued on this name

- -

- -A write up about yourself to aid the reviewer in judging your eligibility for a task. -It can have your educational background, CGPA, field of interests etc.,

- -

YYYY-MM-DD

-

-

- -This information will be used while sending DD/Cheque

-

+{{ form.as_p }}
{% endblock %}