From cdaaa4226f80cdd33d3c8bfa5fe60407887ec9a7 Mon Sep 17 00:00:00 2001 From: Dan Braghis <dan.braghis@torchbox.com> Date: Wed, 10 Jan 2018 17:12:48 +0000 Subject: [PATCH] Change user namespace to account as per ticket update --- opentech/apply/urls.py | 2 +- opentech/apply/users/templates/users/change_password.html | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/opentech/apply/urls.py b/opentech/apply/urls.py index dc692023f..4624990d0 100644 --- a/opentech/apply/urls.py +++ b/opentech/apply/urls.py @@ -5,5 +5,5 @@ from .users import urls as users_urls urlpatterns = [ url(r'^apply/', include(funds_urls)), - url(r'^user/', include(users_urls, namespace='users')), + url(r'^account/', include(users_urls, namespace='users')), ] diff --git a/opentech/apply/users/templates/users/change_password.html b/opentech/apply/users/templates/users/change_password.html index 7c17079cb..26799c69d 100644 --- a/opentech/apply/users/templates/users/change_password.html +++ b/opentech/apply/users/templates/users/change_password.html @@ -22,7 +22,6 @@ {% plural %} Please correct the errors below. {% endblocktrans %} - </div> {% endif %} @@ -30,9 +29,9 @@ {% csrf_token %} {% for field in form %} - {{ field.errors }} - {{ field.label_tag }} - {{ field }} + {{ field.errors }} + {{ field.label_tag }} + {{ field }} {% endfor %} <button type="submit">{% trans 'Reset password' %}</button> -- GitLab