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

{% block title %}
{% trans "Resetting password" %}
{% endblock %}

{% block content %}
<div id="resetconfirm-box" class="unauth-box">
<h1>{% trans "site_title" %}</h1>

{% if validlink %}

<form method="post" action=".">
  {% csrf_token %}
  {{ form.as_p }}
  <br class="clear"/>
  <input id="confirm" type="submit" value="{% trans 'Submit' %}" />
</form>

{% else %}

<p>{% trans "Password reset failed" %}</p>

{% endif %}

</div>
{% endblock %}
