app/soc/views/models/user_self.py
changeset 1169 c0294f3c28db
parent 1168 cb282e6baa1c
child 1181 6fb4134e1dfc
--- a/app/soc/views/models/user_self.py	Sun Feb 01 23:27:28 2009 +0000
+++ b/app/soc/views/models/user_self.py	Sun Feb 01 23:36:50 2009 +0000
@@ -172,7 +172,7 @@
       form.fields['agreed_to_tos_on'].initial = entity.agreed_to_tos_on
       # replace the 'agreed_to_tos' field with a hidden field so 
       # that the form checks still pass
-      form.fields['agreed_to_tos'] = forms.fields.CharField(widget=forms.HiddenInput,
+      form.fields['agreed_to_tos'] = forms.fields.BooleanField(widget=forms.HiddenInput,
       initial=entity.agreed_to_tos, required=True)
 
   def editPost(self, request, entity, context, params=None):