Created
January 21, 2014 19:07
-
-
Save marcelcaraciolo/8546170 to your computer and use it in GitHub Desktop.
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
{% extends "base.html" %} | |
{% load i18n %} | |
{% block title %}{% trans "Nova senha" %} | {{ block.super }}{% endblock %} | |
{% block header_title %}{% trans "Nova senha" %}{% endblock %} | |
{% block main %} | |
<div class="message info"> | |
<p> | |
{% trans "Por favor, insira a nova senha duas vezes para verificarmos se você digitou corretamente." %} | |
</p> | |
</div> | |
{% if form.non_field_errors %} | |
<div class="message error"> | |
<p> | |
{{ form.non_field_errors|join:", " }} | |
</p> | |
</div> | |
{% endif %} | |
<form action="" method="post"> | |
{% csrf_token %} | |
{% for field in form %} | |
{{ field.label_tag }}<br /> | |
{{ field.errors }} | |
{{ field }}<br /> | |
{% endfor %} | |
<input type="submit" class="submit" value="{% trans 'Salvar' %}" /> | |
</form> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment