add templates for allauth
This commit is contained in:
parent
7d6e0386d8
commit
92b6e8a8cb
44 changed files with 476 additions and 0 deletions
21
gnuviechadmin/templates/account/password_reset.html
Normal file
21
gnuviechadmin/templates/account/password_reset.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
{% extends "account/base.html" %}
|
||||
{% load account i18n crispy_forms_tags %}
|
||||
|
||||
{% block title %}{{ block.super }} - {% trans "Password Reset" %}{% endblock title %}
|
||||
{% block page_title %}{% trans "Password Reset" %}{% endblock page_title %}
|
||||
|
||||
{% block content %}
|
||||
{% if user.is_authenticated %}
|
||||
{% include "account/snippets/already_logged_in.html" %}
|
||||
{% endif %}
|
||||
|
||||
<p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}</p>
|
||||
|
||||
<form method="POST" action="{% url 'account_reset_password' %}" class="password_reset">
|
||||
{% csrf_token %}
|
||||
{{ form | crispy }}
|
||||
<input class="btn btn-primary" type="submit" value="{% trans "Reset My Password" %}" />
|
||||
</form>
|
||||
|
||||
<p>{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue