From f81997df2bcae7b008b50cc18d5767072b676360 Mon Sep 17 00:00:00 2001
From: Chris Lawton <chris.lawton@torchbox.com>
Date: Wed, 7 Feb 2018 09:59:56 +0000
Subject: [PATCH] adding form class to account activation form for styling

---
 opentech/apply/users/templates/users/change_password.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/opentech/apply/users/templates/users/change_password.html b/opentech/apply/users/templates/users/change_password.html
index 00a526217..7e6551b97 100644
--- a/opentech/apply/users/templates/users/change_password.html
+++ b/opentech/apply/users/templates/users/change_password.html
@@ -23,15 +23,15 @@
         </ul>
     {% endif %}
 
-    <form action="{% url 'users:password_change' %}" method="POST" novalidate>
+    <form class="form form--with-p-tags" action="" method="POST" novalidate>
         {% csrf_token %}
 
         {% for field in form %}
             {{ field.errors }}
-            {{ field.label_tag }}
-            {{ field }}
+            <p>{{ field.label_tag }}</p>
+            <p>{{ field }}</p>
         {% endfor %}
 
-        <button type="submit">{% trans 'Reset password' %}</button>
+        <button class="link link--button-secondary" type="submit">{% trans 'Reset password' %}</button>
     </form>
 {% endblock %}
-- 
GitLab