Revision d6ea9b3d snf-astakos-app/astakos/im/forms.py
b/snf-astakos-app/astakos/im/forms.py | ||
---|---|---|
242 | 242 |
) |
243 | 243 |
email = forms.EmailField( |
244 | 244 |
label='Contact email', |
245 |
help_text = 'This is needed for contact purposes. It doesn't need to be the same with the one you provided to login previously. ' |
|
245 |
help_text = 'This is needed for contact purposes. ' \ |
|
246 |
'It doesn't need to be the same with the one you ' \ |
|
247 |
'provided to login previously. ' |
|
246 | 248 |
) |
247 | 249 |
|
248 | 250 |
class Meta: |
... | ... | |
432 | 434 |
The class defines a save method which sets ``is_verified`` to True so as the |
433 | 435 |
user during the next login will not to be redirected to profile page. |
434 | 436 |
""" |
437 |
email = forms.EmailField(label='E-mail address',help_text='email help_text') |
|
435 | 438 |
renew = forms.BooleanField(label='Renew token', required=False) |
436 | 439 |
uuid = forms.CharField(label='User id', required=False) |
437 | 440 |
|
... | ... | |
1020 | 1023 |
self.fields.update(self.password_change_form.fields) |
1021 | 1024 |
self.fields['old_password'].required = False |
1022 | 1025 |
self.fields['old_password'].label = _('Password') |
1026 |
self.fields['old_password'].help_text = _('Password help_text') |
|
1023 | 1027 |
self.fields['old_password'].initial = 'password' |
1024 | 1028 |
self.fields['new_password1'].required = False |
1025 | 1029 |
self.fields['new_password2'].required = False |
Also available in: Unified diff