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

{% block title %}{% trans 'Enter new password' %}{% endblock %}

{% block teaser %}<h1>{% trans 'Enter new password' %}</h1>{% endblock %}

{% block maincontent %}
{% if validlink %}
<form action="" method="post">
{% csrf_token %}
  <p class="grid_6">{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>

  <fieldset class="grid_6">
  <legend>{% trans 'Enter new password' %}</legend>
  {% include 'form.html' %}
  <p class="buttonbar">    
     <button type="submit"><span class="fa fa-key"></span> {% trans 'Change my password' %}</button>
  </p>
</fieldset>
</form>



{% else %}
<h2>{% trans 'Password reset unsuccessful' %}</h2>
<p class="error">{% trans "The password reset link was invalid, possibly because it has already been used.  Please request a new password reset." %}</p>
{% endif %}

{% endblock %}

