Prettyify password reset form
This commit is contained in:
parent
5339eef30d
commit
a70da01edf
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user