{% extends 'quintet/login.html' %}
{% load bootstrap_tags %}

{% block content %}
{% if validlink %}

<p class="lead">Enter your new password twice so we can verify you typed it in correctly.</p>

<form action="" method="post">{% csrf_token %}
  {{ form|as_bootstrap }}

  <button type="submit" class="btn btn-primary pull-right">Set Password</button>
</form>

{% else %}

<h1>Invalid Password Reset Link</h1>
<p>Check and make sure you coppied the link correctly, and that this link has not already been used.</p>

{% endif %}
{% endblock %}

{% block js %}
{{ form.media }}
{% endblock %}
