Blob Blame Raw
{% extends "master.html" %}
{% from "_formhelper.html" import render_field_in_row %}

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

{% block content %}
<h2>Change password</h2>

<form action="{{ url_for('reset_password', token=token) }}" method="POST">
  <table>
    {{ render_field_in_row(form.password) }}
    {{ render_field_in_row(form.confirm_password) }}
  </table>
  <p class="buttons indent">
    <input type="submit" class="submit positive button" value="Update">
    <a href="{{ url_for('index') }}">
      <input type="button" value="Cancel" class="button">
    </a>
    {{ form.csrf_token }}
  </p>
</form>

{% endblock %}