diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py index 856852b6..293c3bb2 100644 --- a/mediagoblin/edit/forms.py +++ b/mediagoblin/edit/forms.py @@ -68,8 +68,7 @@ class EditAccountForm(wtforms.Form): [wtforms.validators.Length(min=6, max=30)], id="password") wants_comment_notification = wtforms.BooleanField( - _(''), - description=_("Email me when others comment on my media")) + label=_("Email me when others comment on my media")) class EditAttachmentsForm(wtforms.Form): diff --git a/mediagoblin/templates/mediagoblin/edit/edit_account.html b/mediagoblin/templates/mediagoblin/edit/edit_account.html index 9bacb157..38d99893 100644 --- a/mediagoblin/templates/mediagoblin/edit/edit_account.html +++ b/mediagoblin/templates/mediagoblin/edit/edit_account.html @@ -32,8 +32,7 @@ {% block mediagoblin_content %} - -
@@ -42,11 +41,16 @@ Changing {{ username }}'s account settings {%- endtrans %} - {{ wtforms_util.render_divs(form) }} + {{ wtforms_util.render_field_div(form.old_password) }} + {{ wtforms_util.render_field_div(form.new_password) }} +
+

{{ form.wants_comment_notification }} + {{ form.wants_comment_notification.label }}

+
{{ csrf_token }}
-{% endblock %} +{% endblock %}