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" %}
{% load i18n %}
{% load bootstrap3 %}
{% load crispy_forms_tags %}
{% 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=".">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="{% trans 'Submit' %}" />
{{ form | crispy }}
<input class="btn btn-default" type="submit" name="submit" value="{% trans 'Submit' %}">
</form>
</div>
{% endblock %}