{% extends "base.html" %} {% block title %}Forgot Password{% endblock %} {%
block content %}
<div class="container">
  <h1>Forgot Password</h1>
  {% if errors %}
  <div class="alert alert-error">
    <ul>
      {% for error in errors %}
      <li>{{ error }}</li>
      {% endfor %}
    </ul>
  </div>
  {% endif %} {% if message %}
  <div class="alert alert-info">{{ message }}</div>
  {% endif %}
  <form id="forgot-password-form" method="post" action="{{ form_action }}">
    <div class="form-group">
      <label for="email">Email:</label>
      <input type="email" id="email" name="email" required />
    </div>
    <button type="submit" class="btn primary">Reset Password</button>
  </form>
  <p>Remember your password? <a href="/login">Login here</a></p>
</div>
{% endblock %}
