{% extends "base.html" %}

{% block body %}
  {% if validlink %}
    <form action="" method="post" class="form-area">
      {% csrf_token %}
      <table border="0" class="django-as-table">{{ form.as_table() }}</table>
      <hr>
      <button style="float:right;" type="submit">{{ _('Reset Password') }}</button>
    </form>
  {% else %}
    <p>Invalid password reset link.</p>
  {% endif %}
{% endblock %}