diff --git a/bookwyrm/templates/edit_user.html b/bookwyrm/templates/edit_user.html index 7e963b5b..413f2cae 100644 --- a/bookwyrm/templates/edit_user.html +++ b/bookwyrm/templates/edit_user.html @@ -8,40 +8,40 @@ {% endif %}
{% csrf_token %} -

+

{{ form.avatar }} {% for error in form.avatar.errors %}

{{ error | escape }}

{% endfor %} -

-

+

+
{{ form.name }} {% for error in form.name.errors %}

{{ error | escape }}

{% endfor %} -

-

+

+
{{ form.summary }} {% for error in form.summary.errors %}

{{ error | escape }}

{% endfor %} -

-

+

+
{{ form.email }} {% for error in form.email.errors %}

{{ error | escape }}

{% endfor %} -

-

+

+
-

+
@@ -50,14 +50,14 @@

Change password

{% csrf_token %} -

+

-

-

+

+
-

+
diff --git a/bookwyrm/views/user.py b/bookwyrm/views/user.py index aeec1864..6f7873d5 100644 --- a/bookwyrm/views/user.py +++ b/bookwyrm/views/user.py @@ -185,4 +185,4 @@ class EditUser(View): user.save() broadcast(user, user.to_update_activity(user)) - return redirect('/user/%s' % request.user.localname) + return redirect(user.local_path)