Revision f911f6d3 snf-astakos-app/astakos/im/forms.py
b/snf-astakos-app/astakos/im/forms.py | ||
---|---|---|
434 | 434 |
The class defines a save method which sets ``is_verified`` to True so as the |
435 | 435 |
user during the next login will not to be redirected to profile page. |
436 | 436 |
""" |
437 |
email = forms.EmailField(label='E-mail address',help_text='email help_text')
|
|
437 |
email = forms.EmailField(label='E-mail address', help_text='E-mail address')
|
|
438 | 438 |
renew = forms.BooleanField(label='Renew token', required=False) |
439 | 439 |
uuid = forms.CharField(label='User id', required=False) |
440 | 440 |
|
... | ... | |
1018 | 1018 |
if self.email_change: |
1019 | 1019 |
self.fields.update(self.email_change_form.fields) |
1020 | 1020 |
self.fields['new_email_address'].required = False |
1021 |
self.fields['email'].help_text = _('Request email change') |
|
1021 | 1022 |
|
1022 | 1023 |
if self.password_change: |
1023 | 1024 |
self.fields.update(self.password_change_form.fields) |
1024 | 1025 |
self.fields['old_password'].required = False |
1025 | 1026 |
self.fields['old_password'].label = _('Password') |
1026 |
self.fields['old_password'].help_text = _('Password help_text') |
|
1027 |
self.fields['old_password'].help_text = _('Change your local ' |
|
1028 |
'password') |
|
1027 | 1029 |
self.fields['old_password'].initial = 'password' |
1028 | 1030 |
self.fields['new_password1'].required = False |
1029 | 1031 |
self.fields['new_password2'].required = False |
Also available in: Unified diff