summaryrefslogtreecommitdiff
path: root/patchwork/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'patchwork/forms.py')
-rw-r--r--patchwork/forms.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/patchwork/forms.py b/patchwork/forms.py
index 24322c7..e06cfc1 100644
--- a/patchwork/forms.py
+++ b/patchwork/forms.py
@@ -16,10 +16,15 @@ from patchwork.models import UserProfile
class RegistrationForm(forms.Form):
first_name = forms.CharField(max_length=30, required=False)
- last_name = forms.CharField(max_length=30, required=False)
+ last_name = forms.CharField(max_length=30,
+ required=False,
+ help_text='Your name is used to identify you on '
+ 'the site')
+ email = forms.EmailField(max_length=100, label=u'Email address',
+ help_text='Patchwork will send a confirmation email '
+ 'to this address')
username = forms.RegexField(regex=r'^\w+$', max_length=30,
label=u'Username')
- email = forms.EmailField(max_length=100, label=u'Email address')
password = forms.CharField(widget=forms.PasswordInput(),
label='Password')