make button fit the overall style

This commit is contained in:
Matthias 2021-09-05 10:32:48 +02:00
parent fcf54fc0d2
commit c8fb128817
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -10,7 +10,7 @@
<form method="POST" action="{% url 'account_change_password' %}" class="password_change"> <form method="POST" action="{% url 'account_change_password' %}" class="password_change">
{% csrf_token %} {% csrf_token %}
{{ form|crispy }} {{ form|crispy }}
<button type="submit" name="action">{% trans "Change Password" %}</button> <button type="submit" class="btn btn-primary" name="action">{% trans "Change Password" %}</button>
<a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a> <a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
</form> </form>
{% endblock %} {% endblock %}