29 lines
820 B
HTML
29 lines
820 B
HTML
{% extends 'layouts/master.html' %}
|
|
{% block title %}Restablecer contraseña{% endblock %}
|
|
{% block body %}
|
|
<h1>Restablece tu contraseña</h1>
|
|
<p>Te enviaremos un email para cambiar la contraseña</p>
|
|
<p>
|
|
<form action="" method="post">
|
|
{% for campo in form %}
|
|
{% if campo.type != 'CSRFTokenField' %}
|
|
<div class="form-group{%if campo.errors %} has-error{% endif %}">
|
|
{{ campo.label }}
|
|
{% if campo.type in ('StringField', 'PasswordField') %}
|
|
{{ campo(class='form-control') }}
|
|
{% else %}
|
|
{{ campo() }}
|
|
{% endif %}
|
|
{% for error in campo.errors %}
|
|
<span class="help-block">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
{{ campo() }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
<input type="submit" class="btn btn-success" value="Enviar">
|
|
</form>
|
|
</p>
|
|
{% endblock %}
|