-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alterado formulário de Reset de senha
parte de #1070
- Loading branch information
renzon
committed
Jun 22, 2020
1 parent
2d91e50
commit 602862b
Showing
3 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
pypro/base/templates/registration/password_reset_form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% extends 'base/base.html' %} | ||
{% load i18n static %} | ||
|
||
|
||
{% block title %}Formulário de Recuperação de Senha{% endblock %} | ||
|
||
{% block body %} | ||
<div class="container mt-5"> | ||
<div class="row"> | ||
<div class="col"> | ||
<h1>{{ title }}</h1> | ||
<p>{% trans 'Forgotten your password? Enter your email address below, and we’ll email instructions for setting a new one.' %}</p> | ||
|
||
<form method="post">{% csrf_token %} | ||
<fieldset class="module aligned"> | ||
<div class="form-row field-email"> | ||
{{ form.email.errors }} | ||
<label for="id_email">{% trans 'Email address:' %}</label> | ||
{{ form.email }} | ||
</div> | ||
<input type="submit" value="{% trans 'Reset my password' %}"> | ||
</fieldset> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters