{% extends "public_layout.html" %}

{% load i18n %}
{% load bootstrap3 %}
{% load account %}
{% load url from future %}

{% block head_title %}{% trans "Password Reset" %}{% endblock %}

{% block content %}
  <div class="col-md-offset-3 col-md-6">
    <h1>{% trans "Password Reset" %}</h1>
    {% 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 %}
      {% bootstrap_form form layout="inline" %}
      {% buttons %}
        <button type="submit" class="btn-flat success text-upper">
          {% trans 'Reset My Password' %}
        </button>
      {% endbuttons %}
    </form>
    
    <p>{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p>
  </div>
{% endblock %}

{% block extra_body %}
  <script>
    $("#id_email").focus();
  </script>
{% endblock %}

{% extends "public_layout.html" %}

{% load i18n %}
{% load bootstrap3 %}
{% load account %}
{% load url from future %}

{% block head_title %}{% trans "Password Reset" %}{% endblock %}

{% block content %}
  <div class="col-md-offset-3 col-md-6">
    <h1>{% trans "Password Reset" %}</h1>
    {% 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>

    {% include "snippets/render_form_error.html" %}

    <form method="POST" action="{% url 'account_reset_password' %}" class="password_reset">
      {% csrf_token %}
      {% bootstrap_form form layout="inline" %}
      {% buttons %}
        <button type="submit" class="btn-flat success text-upper">
          {% trans 'Reset My Password' %}
        </button>
      {% endbuttons %}
    </form>

    <p>{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p>
  </div>
{% endblock %}

{% block extra_body %}
  <script>
    $("#id_email").focus();
  </script>
{% endblock %}

Insert form error include template on password reset
Insert form error include template on password reset
