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

{% block page_content %}
<div class="col s12 m4">
  <h3>Lorem ipsum</h3>
  <p>dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
</div>

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