src/cm/views/user.py
changeset 580 f634a302c45e
parent 544 18ac07f35974
child 605 830993bdf983
equal deleted inserted replaced
579:869f02c75687 580:f634a302c45e
   215         fields = ('tags',)
   215         fields = ('tags',)
   216         
   216         
   217 class UserProfileRegisterForm(ModelForm):
   217 class UserProfileRegisterForm(ModelForm):
   218     class Meta:
   218     class Meta:
   219         model = UserProfile
   219         model = UserProfile
       
   220         fields = ()
   220 
   221 
   221 class UserAddForm(forms.Form):
   222 class UserAddForm(forms.Form):
   222     note = forms.CharField(label=ugettext_lazy(u'Note'),
   223     note = forms.CharField(label=ugettext_lazy(u'Note'),
   223                            help_text=ugettext_lazy(u'Optional text to add to invitation email'),
   224                            help_text=ugettext_lazy(u'Optional text to add to invitation email'),
   224                            widget=forms.Textarea,
   225                            widget=forms.Textarea,