fix: clean up formatting of login.html template

This commit is contained in:
Jennifer Richards 2022-03-08 12:13:21 -04:00
parent 3d7b267a64
commit baa3b292b0

View file

@ -9,11 +9,11 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{% bootstrap_form form %} {% bootstrap_form form %}
{% bootstrap_button button_type="submit" content="Sign in" %} <div class="mt-4 mb-3">
<a class="btn btn-secondary" {% bootstrap_button "Sign in" button_type="submit" %}
href="{% url 'ietf.ietfauth.views.password_reset' %}">Forgot your password?</a> {% url 'ietf.ietfauth.views.password_reset' as reset_url %}
<br> {% bootstrap_button "Forgot your password?" button_type="link" button_class="btn-secondary" href=reset_url %}
Don't have an account? </div>
<a href="{% url 'ietf.ietfauth.views.create_account' %}">Create an account</a>. Don't have an account? <a href="{% url 'ietf.ietfauth.views.create_account' %}">Create an account</a>.
</form> </form>
{% endblock %} {% endblock %}