diff options
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r-- | mediagoblin/templates/mediagoblin/edit/edit_account.html | 12 |
1 files changed, 8 insertions, 4 deletions
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 %} - - <form action="{{ request.urlgen('mediagoblin.edit.account') }}?username={{ + <form action="{{ request.urlgen('mediagoblin.edit.account') }}?username={{ user.username }}" method="POST" enctype="multipart/form-data"> <div class="form_box edit_box"> @@ -42,11 +41,16 @@ Changing {{ username }}'s account settings {%- endtrans %} </h1> - {{ wtforms_util.render_divs(form) }} + {{ wtforms_util.render_field_div(form.old_password) }} + {{ wtforms_util.render_field_div(form.new_password) }} + <div class="form_field_input"> + <p>{{ form.wants_comment_notification }} + {{ form.wants_comment_notification.label }}</p> + </div> <div class="form_submit_buttons"> <input type="submit" value="{% trans %}Save changes{% endtrans %}" class="button_form" /> {{ csrf_token }} </div> </div> </form> -{% endblock %} +{% endblock %} |