{% extends "account/base_slide.html" %}
{% load i18n widget_tweaks %}
{% load i18n %}
{% load account %}
{% block head_title %}{% trans "Password Reset" %}{% endblock %}
{% block content %}
<h1 class='text-center title'>{% trans "Password Reset" %}</h1>
<div class="form-login">
{% 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 %}
<div class='form-group'>
<div class='controls with-icon-over-input'>
{% render_field form.email class="form-control" placeholder="Correo electrónico" %}
<i class='fa fa-envelope text-muted'></i>
</div>
</div>
<button class="btn btn-block" type="submit">{% trans 'Reset My Password' %}</button>
</form>
<p>{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p>
</div>
{% endblock %}