Commits

Anonymous committed adfa86c

minor mods to form rendering of text fields

Comments (0)

Files changed (1)

registration/forms.py

     email = forms.EmailField(widget=forms.TextInput(attrs=dict(attrs_dict, maxlength=75)),
                              label=_("E-mail / Username"))
 
-    first_name = forms.CharField(max_length=30)
+    first_name = forms.CharField(widget=forms.TextInput(attrs=dict(attrs_dict, maxlength=30)))
 
-    last_name  = forms.CharField(max_length=30)
+    last_name = forms.CharField(widget=forms.TextInput(attrs=dict(attrs_dict, maxlength=30)))
 
     def clean_username(self):
         "This function is required to overwrite an inherited username clean"