Prettyify password reset form

This commit is contained in:
Anna Sidwell 2018-03-28 22:46:00 +11:00
parent 5339eef30d
commit a70da01edf

View File

@ -1,11 +1,20 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n %} {% load i18n %}
{% load bootstrap3 %}
{% load crispy_forms_tags %}
{% block content %} {% block content %}
<div class="container text-center" style="max-width:520px;">
<div class="page-lead">
<h2>{% trans 'Reset your password' %}</h2>
<p class="lead">{% trans 'Enter your email address below' %}</p>
</div>
<form method="post" action="."> <form method="post" action=".">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form | crispy }}
<input class="btn btn-default" type="submit" name="submit" value="{% trans 'Submit' %}">
<input type="submit" value="{% trans 'Submit' %}" />
</form> </form>
</div>
{% endblock %} {% endblock %}