{% extends "nopaque.html.j2" %}

{% block page_content %}
<div class="col s12 m4">
  <p>After entering your email address you will receive instructions on how to reset your password.</p>
</div>

<div class="col s12 m8">
  <div class="card">
    <form method="POST">
      <div class="card-content">
        {{ reset_password_request_form.hidden_tag() }}
        <div class="input-field">
          {{ reset_password_request_form.email(class='validate', type='email') }}
          {{ reset_password_request_form.email.label }}
          {% for error in reset_password_request_form.email.errors %}
            <span class="helper-text red-text">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="card-action right-align">
        {{ macros.submit_button(reset_password_request_form.submit) }}
      </div>
    </form>
  </div>
</div>
{% endblock %}
