{% extends "base.html" %}
{% block main %}
<div id="mainworkflow">
  <div class="workflow">
    <h2>Forgot your password?</h2>
    <p>
      Enter the email address that was used to register with Distribusiverse.
    </p>
    <form class="form" action="{{ url_for('forgotpassword') }}" method="post">
      {{ forgotpasswordform.csrf_token }}
      <fieldset class="required">
        {{ forgotpasswordform.email.label }}
        {{ forgotpasswordform.email }}
        {% for message in forgotpasswordform.email.errors %}
          <div class="error">{{ message }}</div>
        {% endfor %}
      </fieldset>
      <fieldset class="button required error">
        {{ forgotpasswordform.submit }}
        <div class="overview">
          <a href="/">
            <input type="button" name="button" value="Back to main page"></input>
          </a>
        </div>
      </fieldset>
    </form>
  </div>
</div
{% endblock main %}