{% extends "registration/base.html" %}

{% block title %}Change password{% endblock %}

{% block content %}
<div id="change_password_page">
<h1>Change password</h1>
{% if success %}
<p>Your password has been updated.</p>
<p>Now you can <a href="{% url ietfauth.views.ietf_login %}">sign in</a></p>
{% else %}
<p>Hello, you can select a new password below for your user {{ username }}.</p>
<form action="" method="POST">
  <table class="register-form">
  {{ form }}
  </table>
  <div class="submit_row">
    <input type="submit" value="Change password" />
  </div>
</form>
{% endif %}
</div>
{% endblock %}
