From baa3b292b0c533c3356091ecfdf5e949a30c05b0 Mon Sep 17 00:00:00 2001
From: Jennifer Richards <jennifer@painless-security.com>
Date: Tue, 8 Mar 2022 12:13:21 -0400
Subject: [PATCH] fix: clean up formatting of login.html template

---
 ietf/templates/registration/login.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/ietf/templates/registration/login.html b/ietf/templates/registration/login.html
index 4962e358d..a3ec86a35 100644
--- a/ietf/templates/registration/login.html
+++ b/ietf/templates/registration/login.html
@@ -9,11 +9,11 @@
     <form method="post">
         {% csrf_token %}
         {% bootstrap_form form %}
-        {% bootstrap_button button_type="submit" content="Sign in" %}
-        <a class="btn btn-secondary"
-           href="{% url 'ietf.ietfauth.views.password_reset' %}">Forgot your password?</a>
-        <br>
-        Don't have an account?
-        <a href="{% url 'ietf.ietfauth.views.create_account' %}">Create an account</a>.
+        <div class="mt-4 mb-3">
+            {% bootstrap_button "Sign in" button_type="submit" %}
+            {% url 'ietf.ietfauth.views.password_reset' as reset_url %}
+            {% bootstrap_button "Forgot your password?" button_type="link" button_class="btn-secondary" href=reset_url %}
+        </div>
+        Don't have an account? <a href="{% url 'ietf.ietfauth.views.create_account' %}">Create an account</a>.
     </form>
 {% endblock %}
\ No newline at end of file