Source

django-bootstrap-theme / bootstrap_theme / templates / registration / password_reset_confirm.html

Full commit
{% extends "base.html" %}

{% block title %}Password reset confirmation{% endblock %}

{% block content %}
{% if validlink %}
          <form action="" method="post">{% csrf_token %}
            <fieldset>
              <legend>Choose new password</legend>
              {% include "bootstrap_form.html" %}
              <button type="submit" class="btn btn-primary">Change password</button>
            </fieldset>
          </form>{% else %}
<h2>Password reset unsuccessful</h2>
<p>The password reset link was invalid, possibly because it has already been used.  Please request a new password reset.</p>
{% endif %}
{% endblock %}