{% extends "base.html" %}
{% load i18n %}
{% load translations %}
{% load crispy_forms_tags %}

{% block breadcrumbs %}
<li><a href="{% url 'password_reset' %}">{% trans "Password reset" %}</a></li>
{% endblock %}

{% block content %}


{% show_message "info" _("Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one.") %}

{% if form.errors %}
{% show_message "error" _("Please fix errors in the registration form.") %}
{% endif %}

<form action="{% url 'password_reset' %}" method="post" accept-charset="utf-8" role="form">
<div class="panel panel-primary">
  <div class="panel-heading"><h4 class="panel-title">{% trans "Password reset" %}</h4></div>
  <div class="panel-body">
{% csrf_token %}
{{ form|crispy }}
</div>
<div class="panel-footer">
<input type="submit" value="{% trans 'Reset my password' %}" class="btn btn-default" />
</div>
</div>
</form>

{% endblock %}
