added feature to render_divs where if field.label == '' then it will render form.description the same a render_label
This commit is contained in:
@@ -65,6 +65,9 @@ class EditAccountForm(wtforms.Form):
|
||||
_('New email address'),
|
||||
[wtforms.validators.Optional(),
|
||||
normalize_user_or_email_field(allow_user=False)])
|
||||
wants_comment_notification = wtforms.BooleanField(
|
||||
label='',
|
||||
description=_("Email me when others comment on my media"))
|
||||
license_preference = wtforms.SelectField(
|
||||
_('License preference'),
|
||||
[
|
||||
@@ -73,8 +76,6 @@ class EditAccountForm(wtforms.Form):
|
||||
],
|
||||
choices=licenses_as_choices(),
|
||||
description=_('This will be your default license on upload forms.'))
|
||||
wants_comment_notification = wtforms.BooleanField(
|
||||
label=_("Email me when others comment on my media"))
|
||||
|
||||
|
||||
class EditAttachmentsForm(wtforms.Form):
|
||||
|
||||
Reference in New Issue
Block a user